summaryrefslogtreecommitdiffstats
path: root/files/nftables/ipv6-mangle
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2013-09-16 18:27:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-17 13:11:14 +0200
commit57f844782fa86660ce16b79b485ec34729bce4f7 (patch)
treeff69c79d99f6f10b0f2b43bb4866bf491941bb38 /files/nftables/ipv6-mangle
parentf1a9d5d320bb4d19570f9029e028c3acd81b8756 (diff)
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 <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'files/nftables/ipv6-mangle')
-rw-r--r--files/nftables/ipv6-mangle6
1 files changed, 1 insertions, 5 deletions
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; }
}