summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ip_tcp.t
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-10-24 00:14:04 +0200
committerFlorian Westphal <fw@strlen.de>2017-10-26 23:46:10 +0200
commit46b53873ed7b66dbd91e63dfe766e32dd3db53e9 (patch)
tree4c394fab52e6f62e288bc084771c78831b25106f /tests/py/inet/ip_tcp.t
parentc22721b69a51a73c18ea251c91973aef5445f225 (diff)
tests: nft removes required inet dependency expressions
+inet/meta.t: line: 10: 'add rule inet t input meta nfproto ipv6 tcp dport 22': 'meta nfproto ipv6 tcp dport 22' mismatches 'tcp dport 22' +inet/meta.t: line: 11: 'add rule inet t input meta nfproto ipv4 tcp dport 22': 'meta nfproto ipv4 tcp dport 22' mismatches 'tcp dport 22' +inet/meta.t: line: 13: 'add rule inet t input meta nfproto ipv6 meta l4proto tcp': 'meta nfproto ipv6 meta l4proto 6' mismatches 'meta l4proto 6' +inet/ip_tcp.t: line: 20: 'src/nft add rule inet test input ether type ip tcp dport 22': 'ether type ip tcp dport 22' mismatches 'tcp dport 22' All of these are actual errors, i.e. meaning of rule is changed. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/inet/ip_tcp.t')
-rw-r--r--tests/py/inet/ip_tcp.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/py/inet/ip_tcp.t b/tests/py/inet/ip_tcp.t
index 828d9d92..f2a28ebd 100644
--- a/tests/py/inet/ip_tcp.t
+++ b/tests/py/inet/ip_tcp.t
@@ -16,3 +16,5 @@ ip protocol tcp counter ip saddr 1.2.3.4 tcp dport 22;ok;ip protocol 6 counter i
# or here.
ip protocol tcp counter tcp dport 22;ok;ip protocol 6 counter tcp dport 22
+
+ether type ip tcp dport 22;ok