diff options
Diffstat (limited to 'tests/py/bridge')
-rw-r--r-- | tests/py/bridge/reject.t | 2 | ||||
-rw-r--r-- | tests/py/bridge/reject.t.payload | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/py/bridge/reject.t b/tests/py/bridge/reject.t index 4fa6ac0b..67deac8d 100644 --- a/tests/py/bridge/reject.t +++ b/tests/py/bridge/reject.t @@ -16,7 +16,7 @@ reject with icmpv6 type admin-prohibited;ok;ether type ip6 reject with icmpv6 ty reject with icmpv6 type addr-unreachable;ok;ether type ip6 reject with icmpv6 type addr-unreachable reject with icmpv6 type port-unreachable;ok;ether type ip6 reject -ip protocol tcp reject with tcp reset;ok;ip protocol 6 reject with tcp reset +mark 12345 ip protocol tcp reject with tcp reset;ok;mark 0x00003039 ip protocol 6 reject with tcp reset reject;ok ether type ip reject;ok diff --git a/tests/py/bridge/reject.t.payload b/tests/py/bridge/reject.t.payload index f5a0e6a8..b984f6f8 100644 --- a/tests/py/bridge/reject.t.payload +++ b/tests/py/bridge/reject.t.payload @@ -64,8 +64,10 @@ bridge test-bridge input [ cmp eq reg 1 0x0000dd86 ] [ reject type 0 code 4 ] -# ip protocol tcp reject with tcp reset +# mark 12345 ip protocol tcp reject with tcp reset bridge test-bridge input + [ meta load mark => reg 1 ] + [ cmp eq reg 1 0x00003039 ] [ payload load 2b @ link header + 12 => reg 1 ] [ cmp eq reg 1 0x00000008 ] [ payload load 1b @ network header + 9 => reg 1 ] |