From 8e7acbfae3017cd5f30e3b17ca16354f76b81b8a Mon Sep 17 00:00:00 2001 From: Arturo Borrero Date: Thu, 27 Jun 2013 18:56:38 +0200 Subject: src: xml: convert family values to string This patch translates family values to display a string: * ip if AF_INET * ip6 if AF_INET6 * bridge if AF_BRIDGE * arp if 0 Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Pablo Neira Ayuso --- test/nft-rule-xml-add.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/nft-rule-xml-add.sh') diff --git a/test/nft-rule-xml-add.sh b/test/nft-rule-xml-add.sh index 426b975..961b597 100755 --- a/test/nft-rule-xml-add.sh +++ b/test/nft-rule-xml-add.sh @@ -33,9 +33,8 @@ fi [ ! -x "$NFT" ] && echo "W: nftables main binary not found but continuing anyway $NFT" -XML=" +XML=" 0 - 127 0 0 -- cgit v1.2.3