summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/hash.t.payload
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-12-29 18:39:30 +0100
committerPhil Sutter <phil@nwl.cc>2021-03-09 14:25:00 +0100
commit8f5f6a77c3a08d0ac83dc7249b0f211b8a675438 (patch)
tree0c5a122b117cb892c98a00221da629876838a7ca /tests/py/ip/hash.t.payload
parent68d5edd4d31e54b6add6d2af5b8baa0c0724a4dd (diff)
tests/py: Adjust payloads for fixed nat statement dumps
Libnftnl no longer dumps unused regs, so drop those. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/py/ip/hash.t.payload')
-rw-r--r--tests/py/ip/hash.t.payload2
1 files changed, 1 insertions, 1 deletions
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