From 8f5f6a77c3a08d0ac83dc7249b0f211b8a675438 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 29 Dec 2020 18:39:30 +0100 Subject: tests/py: Adjust payloads for fixed nat statement dumps Libnftnl no longer dumps unused regs, so drop those. Signed-off-by: Phil Sutter --- tests/py/ip/hash.t.payload | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/py/ip/hash.t.payload') diff --git a/tests/py/ip/hash.t.payload b/tests/py/ip/hash.t.payload index 71ab0652..fefe492d 100644 --- a/tests/py/ip/hash.t.payload +++ b/tests/py/ip/hash.t.payload @@ -41,7 +41,7 @@ ip test-ip4 pre [ payload load 4b @ network header + 12 => reg 2 ] [ hash reg 1 = jhash(reg 2, 4, 0xdeadbeef) % mod 2 ] [ lookup reg 1 set __map%d dreg 1 ] - [ nat dnat ip addr_min reg 1 addr_max reg 0 ] + [ nat dnat ip addr_min reg 1 ] # ct mark set symhash mod 2 offset 100 ip test-ip4 pre -- cgit v1.2.3