netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Alvaro Neira <alvaroneay@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [libnftables PATCH 2/2] Add implementation for to proof the JSON export function
Date: Fri, 7 Jun 2013 14:02:57 +0200	[thread overview]
Message-ID: <20130607120257.GB6571@localhost> (raw)
In-Reply-To: <20130607091423.13002.25109.stgit@Ph0enix>

Also applied, thanks.

On Fri, Jun 07, 2013 at 11:14:23AM +0200, Alvaro Neira wrote:
> 
> ---
>  examples/nft-table-get.c |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/examples/nft-table-get.c b/examples/nft-table-get.c
> index b113636..0d7746c 100644
> --- a/examples/nft-table-get.c
> +++ b/examples/nft-table-get.c
> @@ -59,6 +59,10 @@ int main(int argc, char *argv[])
>  		type = NFT_TABLE_O_XML;
>  		argv[argc-1] = NULL;
>  		argc--;
> +	}else if (strcmp(argv[argc-1], "json") == 0) {
> +		type = NFT_TABLE_O_JSON;
> +		argv[argc-1] = NULL;
> +		argc--;
>  	} else if (strcmp(argv[argc - 1], "default") == 0) {
>  		argc--;
>  	}
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2013-06-07 12:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-07  9:14 [libnftables PATCH 0/2] Series short description Alvaro Neira
2013-06-07  9:14 ` [libnftables PATCH 1/2] Add functions for exporting tables to JSON format Alvaro Neira
2013-06-07 12:02   ` Pablo Neira Ayuso
2013-06-07  9:14 ` [libnftables PATCH 2/2] Add implementation for to proof the JSON export function Alvaro Neira
2013-06-07 12:02   ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130607120257.GB6571@localhost \
    --to=pablo@netfilter.org \
    --cc=alvaroneay@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).