From 46b53873ed7b66dbd91e63dfe766e32dd3db53e9 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 24 Oct 2017 00:14:04 +0200 Subject: 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 --- tests/py/inet/ip_tcp.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/py/inet/ip_tcp.t') 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 -- cgit v1.2.3