diff options
Diffstat (limited to 'tests/py/ip/ether.t.payload')
-rw-r--r-- | tests/py/ip/ether.t.payload | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/ip/ether.t.payload b/tests/py/ip/ether.t.payload index 0d234dab..bd7c8f15 100644 --- a/tests/py/ip/ether.t.payload +++ b/tests/py/ip/ether.t.payload @@ -1,6 +1,6 @@ # tcp dport 22 iiftype ether ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:4 accept ip test-ip input - [ payload load 1b @ network header + 9 => reg 1 ] + [ meta load l4proto => reg 1 ] [ cmp eq reg 1 0x00000006 ] [ payload load 2b @ transport header + 2 => reg 1 ] [ cmp eq reg 1 0x00001600 ] @@ -14,7 +14,7 @@ ip test-ip input # tcp dport 22 ether saddr 00:0f:54:0c:11:04 ip daddr 1.2.3.4 ip test-ip input - [ payload load 1b @ network header + 9 => reg 1 ] + [ meta load l4proto => reg 1 ] [ cmp eq reg 1 0x00000006 ] [ payload load 2b @ transport header + 2 => reg 1 ] [ cmp eq reg 1 0x00001600 ] @@ -27,7 +27,7 @@ ip test-ip input # tcp dport 22 ip daddr 1.2.3.4 ether saddr 00:0f:54:0c:11:04 ip test-ip input - [ payload load 1b @ network header + 9 => reg 1 ] + [ meta load l4proto => reg 1 ] [ cmp eq reg 1 0x00000006 ] [ payload load 2b @ transport header + 2 => reg 1 ] [ cmp eq reg 1 0x00001600 ] |