summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/typeof_integer_0.nft
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-09-01 14:05:05 +0200
committerFlorian Westphal <fw@strlen.de>2023-09-10 14:38:11 +0200
commitb90b2482aa026ffbc9105348098094c4b09c1dc4 (patch)
tree8541681df16fbea35cba9dd30dfd05113f3188a4 /tests/shell/testcases/maps/dumps/typeof_integer_0.nft
parenta270a354a2effbf0efd558e013be16b10658d8b6 (diff)
tests/shell: typeof_integer/raw: prefer @nh for payload matching
@ih fails on kernels where payload expression doesn't support the 'inner' base offset. This test isn't about inner headers, so just use @nh which is universally available. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/maps/dumps/typeof_integer_0.nft')
-rw-r--r--tests/shell/testcases/maps/dumps/typeof_integer_0.nft4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shell/testcases/maps/dumps/typeof_integer_0.nft b/tests/shell/testcases/maps/dumps/typeof_integer_0.nft
index 33041557..19c24feb 100644
--- a/tests/shell/testcases/maps/dumps/typeof_integer_0.nft
+++ b/tests/shell/testcases/maps/dumps/typeof_integer_0.nft
@@ -13,8 +13,8 @@ table inet t {
}
chain c {
- udp length . @ih,32,32 vmap @m1
- udp length . @ih,32,32 vmap @m2
+ udp length . @nh,32,32 vmap @m1
+ udp length . @nh,32,32 vmap @m2
udp length . @th,160,128 vmap { 47-63 . 0xe373135363130333131303735353203 : accept }
}
}