diff options
author | Florian Westphal <fw@strlen.de> | 2019-01-25 15:09:41 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2019-01-25 15:10:23 +0100 |
commit | 88ba0c92754d89c71dab11f701839522a5ddb5a9 (patch) | |
tree | 93e60ed790a7c85ddd7588c8fbf66c9429de5633 /tests/py/ip/ip.t.payload | |
parent | f5821e0b8a4813c0a0b9909f97d0db8855d04ffd (diff) |
tests: fix up expected payloads after expr merge change
nft currently doesn't do payload merging anymore in some cases,
so fix up the expected output.
Fixes: ce2651222911 ("payload: refine payload expr merging")
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/ip/ip.t.payload')
-rw-r--r-- | tests/py/ip/ip.t.payload | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/py/ip/ip.t.payload b/tests/py/ip/ip.t.payload index eba79dec..d627b22f 100644 --- a/tests/py/ip/ip.t.payload +++ b/tests/py/ip/ip.t.payload @@ -370,8 +370,10 @@ ip test-ip4 input # ip saddr 192.168.3.1 ip daddr 192.168.3.100 ip test-ip4 input - [ payload load 8b @ network header + 12 => reg 1 ] - [ cmp eq reg 1 0x0103a8c0 0x6403a8c0 ] + [ payload load 4b @ network header + 12 => reg 1 ] + [ cmp eq reg 1 0x0103a8c0 ] + [ payload load 4b @ network header + 16 => reg 1 ] + [ cmp eq reg 1 0x6403a8c0 ] # ip saddr != 1.1.1.1 ip test-ip4 input |