]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests/py: Fix expected output in {bridge,inet}/icmpX.t
authorPhil Sutter <phil@nwl.cc>
Sat, 5 May 2018 12:44:37 +0000 (14:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 6 May 2018 20:56:23 +0000 (22:56 +0200)
The first expression in that rule is not eliminated in evaluation phase,
so there is no reason why it should be while delinearizing.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/bridge/icmpX.t
tests/py/inet/icmpX.t

index 4d7b9b0637aae456cbe56f8570a0f441dae202b1..7c35c26376c8fda11dfb3089336eceae0b3de685 100644 (file)
@@ -2,7 +2,7 @@
 
 *bridge;test-bridge;input
 
-ip protocol icmp icmp type echo-request;ok;icmp type echo-request
+ip protocol icmp icmp type echo-request;ok;ip protocol 1 icmp type echo-request
 icmp type echo-request;ok
 ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;ip6 nexthdr 58 icmpv6 type echo-request
 icmpv6 type echo-request;ok
index 43ac0909195ff112ab223dc68ec21f88bd4a6db8..97ff96d0cf0e68fe0b3639e532c667c06d470809 100644 (file)
@@ -2,7 +2,7 @@
 
 *inet;test-inet;input
 
-ip protocol icmp icmp type echo-request;ok;icmp type echo-request
+ip protocol icmp icmp type echo-request;ok;ip protocol 1 icmp type echo-request
 icmp type echo-request;ok
 ip6 nexthdr icmpv6 icmpv6 type echo-request;ok;ip6 nexthdr 58 icmpv6 type echo-request
 icmpv6 type echo-request;ok