Re: [libnftables PATCH 2/2] Add implementation for to proof the JSON export function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux