From 29a89694181f8eaa8b9dcd8c95224ced6199ad94 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 5 Sep 2013 21:54:56 +0200 Subject: chain: use human readable netfilter hook Since (108d9f6 src: Wrap netfilter hooks around human readable strings) in nft, we have to use human readable netfilter hooks. This patch also adapts the XML and JSON tests. Signed-off-by: Pablo Neira Ayuso --- tests/jsonfiles/11-chain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/jsonfiles/11-chain.json') diff --git a/tests/jsonfiles/11-chain.json b/tests/jsonfiles/11-chain.json index 0e71e8f..2381eb6 100644 --- a/tests/jsonfiles/11-chain.json +++ b/tests/jsonfiles/11-chain.json @@ -1 +1 @@ -{ "chain": {"name": "input","handle": 1,"bytes": 1375696,"packets": 4136,"family": "ip","table": "filter","use": 0,"type": "filter","hooknum": "NF_INET_LOCAL_IN","prio": 0,"policy": "accept"}} +{ "chain": {"name": "input","handle": 1,"bytes": 1375696,"packets": 4136,"family": "ip","table": "filter","use": 0,"type": "filter","hooknum": "input","prio": 0,"policy": "accept"}} -- cgit v1.2.3