From 1e0d8f7a1ab5a4eed242901af0a9eff645807a55 Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Mon, 29 Apr 2013 02:36:07 +0000 Subject: src: delete exporting internal flags in XML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The uint32_t flags attribute is internal, so no need to export via XML. Signed-off-by: Arturo Borrero González Signed-off-by: Pablo Neira Ayuso --- src/chain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/chain.c') diff --git a/src/chain.c b/src/chain.c index fb5d218..44a0e66 100644 --- a/src/chain.c +++ b/src/chain.c @@ -452,7 +452,6 @@ static int nft_chain_snprintf_xml(char *buf, size_t size, struct nft_chain *c) "" "" - "%d" "%s" "%s
" "%d" @@ -463,8 +462,8 @@ static int nft_chain_snprintf_xml(char *buf, size_t size, struct nft_chain *c) "
" "
", c->name, c->handle, c->bytes, c->packets, - c->flags, c->type, c->table, c->prio, - c->use, c->hooknum, c->policy, c->family); + c->type, c->table, c->prio, c->use, c->hooknum, + c->policy, c->family); } static int nft_chain_snprintf_default(char *buf, size_t size, struct nft_chain *c) -- cgit v1.2.3