[nft PATCH] tests/py: Fix expected output in {bridge,inet}/icmpX.t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 tests/py/bridge/icmpX.t | 2 +-
 tests/py/inet/icmpX.t   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux