From 57f844782fa86660ce16b79b485ec34729bce4f7 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Mon, 16 Sep 2013 18:27:37 +0200 Subject: Update chain creation format. type keyword is now mandatory when creating a new chain. This patc halso implement the change required following the usage of human notation in hook. It also suppressed non currently supported mangle chains. Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- files/nftables/ipv6-filter | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/nftables/ipv6-filter') diff --git a/files/nftables/ipv6-filter b/files/nftables/ipv6-filter index 9e412784..98fce02d 100644 --- a/files/nftables/ipv6-filter +++ b/files/nftables/ipv6-filter @@ -1,7 +1,7 @@ #! nft -f table ip6 filter { - chain input { hook NF_INET_LOCAL_IN 0; } - chain forward { hook NF_INET_FORWARD 0; } - chain output { hook NF_INET_LOCAL_OUT 0; } + chain input { type filter hook input priority 0; } + chain forward { type filter hook forward priority 0; } + chain output { type filter hook output priority 0; } } -- cgit v1.2.3