]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: nft removes required payload protocol expressions
authorFlorian Westphal <fw@strlen.de>
Wed, 22 Mar 2017 23:50:45 +0000 (00:50 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 26 Oct 2017 21:46:10 +0000 (23:46 +0200)
commit947011e7454df6aabb67ef6f240eec670384395d
tree64c3aee1920b7071fab76e0ba2d570d93da85507
parentf94c2f69102fc5249ee18565fa6ad3bd4b82441e
tests: nft removes required payload protocol expressions

This test fails with
'ip protocol tcp tcp dport 22' mismatches 'tcp dport 22'

ip protocol tcp tcp dport 22 is *ONLY* same as 'tcp dport 22' in the
ip family.

For netdev/inet/bridge, the dependency is required, as it restricts
matching to ipv4.

Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/inet/ip_tcp.t [new file with mode: 0644]
tests/py/inet/ip_tcp.t.payload [new file with mode: 0644]
tests/py/inet/ip_tcp.t.payload.bridge [new file with mode: 0644]
tests/py/inet/ip_tcp.t.payload.netdev [new file with mode: 0644]