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-mangle | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'files/nftables/ipv6-mangle') diff --git a/files/nftables/ipv6-mangle b/files/nftables/ipv6-mangle index dc18c7a8..72743532 100644 --- a/files/nftables/ipv6-mangle +++ b/files/nftables/ipv6-mangle @@ -1,9 +1,5 @@ #! nft -f table ip6 mangle { - chain prerouting { hook NF_INET_PRE_ROUTING -150; } - chain input { hook NF_INET_LOCAL_IN -150; } - chain forward { hook NF_INET_FORWARD -150; } - chain output { hook NF_INET_LOCAL_OUT -150; } - chain postrouting { hook NF_INET_POST_ROUTING -150; } + chain output { type route hook output priority -150; } } -- cgit v1.2.3