diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-12 12:44:44 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-11-12 13:49:01 +0100 |
commit | c96b22b105d1005a170d4ad8f64aebab1c40eb21 (patch) | |
tree | 3e27c60a384c24524591a6ae7042e9d641165424 /tests/py/ip/ip_tcp.t | |
parent | b20872b59bef8dcb83be21bbbf3d0cf1cb5bbd59 (diff) |
tests: py: remove netdev coverage in ip/ip_tcp.t
The following tests shows a warning in the netdev family:
ip/ip_tcp.t: WARNING: line 9: 'add rule netdev test-netdev ingress ip protocol tcp tcp dport 22': 'tcp dport 22' mismatches 'ip protocol 6 tcp dport 22'
'ip protocol tcp' can be removed in the ip family, but not in netdev.
This test is specific of the ip family, remove the netdev lines.
Fixes: 510c4fad7e78 ("src: Support netdev egress hook")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/ip_tcp.t')
-rw-r--r-- | tests/py/ip/ip_tcp.t | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/py/ip/ip_tcp.t b/tests/py/ip/ip_tcp.t index 646b0ca5..ff398aa6 100644 --- a/tests/py/ip/ip_tcp.t +++ b/tests/py/ip/ip_tcp.t @@ -1,9 +1,6 @@ :input;type filter hook input priority 0 -:ingress;type filter hook ingress device lo priority 0 -:egress;type filter hook egress device lo priority 0 *ip;test-ip;input -*netdev;test-netdev;ingress,egress # can remove ip dependency -- its redundant in ip family ip protocol tcp tcp dport 22;ok;tcp dport 22 |