]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: regression: masquerade is only allowed from postrouting
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 18 Mar 2015 19:25:27 +0000 (20:25 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 18 Mar 2015 19:25:27 +0000 (20:25 +0100)
Disable the tests from the output chain, the kernel rejects this with
operation not supported.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/regression/ip/masquerade.t
tests/regression/ip6/masquerade.t

index 95c96fdd50107aefa7a4b22898e6e3ca5f43cdd3..d0fe02d160c7443816a19d1edc64a3b43e017e06 100644 (file)
@@ -1,5 +1,4 @@
 *ip;test-ip4
-:output;type nat hook output priority 0
 :postrouting;type nat hook postrouting priority 0
 
 # nf_nat flags combination
index c9221d29f34f5c4fc5a294f622d82f8c4845d969..817acd4f29e9c960857e2880d4b4df0697c10baa 100644 (file)
@@ -1,5 +1,4 @@
 *ip6;test-ip6
-:output;type nat hook output priority 0
 :postrouting;type nat hook postrouting priority 0
 
 # nf_nat flags combination