From e53fd42e4aee4f6ba4e542d95abdd56360042d34 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 20 Mar 2020 13:47:40 +0100 Subject: tests: py: update nat expressions payload to include proto flags Update tests according to 6c84577b0d23 ("evaluate: add range specified flag setting (missing NF_NAT_RANGE_PROTO_SPECIFIED)") Signed-off-by: Pablo Neira Ayuso --- tests/py/ip/masquerade.t.payload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/py/ip/masquerade.t.payload') diff --git a/tests/py/ip/masquerade.t.payload b/tests/py/ip/masquerade.t.payload index 83351526..0ba8d5a8 100644 --- a/tests/py/ip/masquerade.t.payload +++ b/tests/py/ip/masquerade.t.payload @@ -130,7 +130,7 @@ ip test-ip4 postrouting [ payload load 1b @ network header + 9 => reg 1 ] [ cmp eq reg 1 0x00000006 ] [ immediate reg 1 0x00000004 ] - [ masq proto_min reg 1 proto_max reg 0 ] + [ masq proto_min reg 1 proto_max reg 0 flags 0x2 ] # ip protocol 6 masquerade to :1024-2048 ip test-ip4 postrouting @@ -138,5 +138,5 @@ ip test-ip4 postrouting [ cmp eq reg 1 0x00000006 ] [ immediate reg 1 0x00000004 ] [ immediate reg 2 0x00000008 ] - [ masq proto_min reg 1 proto_max reg 2 ] + [ masq proto_min reg 1 proto_max reg 2 flags 0x2 ] -- cgit v1.2.3