summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ether.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-06-16 22:17:05 +0200
committerFlorian Westphal <fw@strlen.de>2017-06-18 23:28:57 +0200
commit2827cced68cf6ad75ae6ed88ee67695450118992 (patch)
treefeb1c55fcf5f53b0cc231d91ba5f8f2a18db4585 /tests/py/inet/ether.t
parent6939b8b3fdb6d90f76883e65524017180e065608 (diff)
tests: remove two non-sensical rules
meta nfproto returns the hook family that the current packet is being evaluted in, e.g. NFPROTO_NETDEV in case we're called from the netdev context. This makes no sense, if we add a rule to netdev, bridge, ip, ... table then thats where it will be evaluated, no runtime test needed. Only exception: inet family, in this case, nfproto will be either ipv4 or ipv6. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/ether.t')
-rw-r--r--tests/py/inet/ether.t2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/py/inet/ether.t b/tests/py/inet/ether.t
index 0a88aef1..afdf8b89 100644
--- a/tests/py/inet/ether.t
+++ b/tests/py/inet/ether.t
@@ -7,9 +7,7 @@
*bridge;test-bridge;input
*netdev;test-netdev;ingress
-tcp dport 22 iiftype ether ether saddr 00:0f:54:0c:11:4 meta nfproto ipv4 accept;ok;tcp dport 22 ether saddr 00:0f:54:0c:11:04 meta nfproto ipv4 accept
tcp dport 22 iiftype ether ether saddr 00:0f:54:0c:11:4 accept;ok;tcp dport 22 ether saddr 00:0f:54:0c:11:04 accept
tcp dport 22 ether saddr 00:0f:54:0c:11:04 accept;ok
ether saddr 00:0f:54:0c:11:04 accept;ok
-ether saddr 00:0f:54:0c:11:04 meta nfproto ipv4;ok