Message ID | 20180505124437.32596-1-phil@nwl.cc |
---|---|
State | Accepted |
Delegated to: | Pablo Neira |
Headers | show |
Series | [nft] tests/py: Fix expected output in {bridge,inet}/icmpX.t | expand |
On Sat, May 05, 2018 at 02:44:37PM +0200, Phil Sutter wrote: > The first expression in that rule is not eliminated in evaluation phase, > so there is no reason why it should be while delinearizing. Also applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/tests/py/bridge/icmpX.t b/tests/py/bridge/icmpX.t index 4d7b9b0637aae..7c35c26376c8f 100644 --- a/tests/py/bridge/icmpX.t +++ b/tests/py/bridge/icmpX.t @@ -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 diff --git a/tests/py/inet/icmpX.t b/tests/py/inet/icmpX.t index 43ac0909195ff..97ff96d0cf0e6 100644 --- a/tests/py/inet/icmpX.t +++ b/tests/py/inet/icmpX.t @@ -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
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> --- tests/py/bridge/icmpX.t | 2 +- tests/py/inet/icmpX.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)