From 1e6ae0e42bdc161d178277c336886e18c259caf5 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sun, 7 May 2017 01:47:48 +0200 Subject: tests: add ip reject with tcp and check for mark too ... to avoid resetting e.g. the ssh session to the vm that runs nft-test.py. Signed-off-by: Florian Westphal --- tests/py/ip6/reject.t.payload.ip6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/py/ip6/reject.t.payload.ip6') diff --git a/tests/py/ip6/reject.t.payload.ip6 b/tests/py/ip6/reject.t.payload.ip6 index fcae382b..74263101 100644 --- a/tests/py/ip6/reject.t.payload.ip6 +++ b/tests/py/ip6/reject.t.payload.ip6 @@ -26,9 +26,11 @@ ip6 test-ip6 output ip6 test-ip6 output [ reject type 0 code 6 ] -# reject with tcp reset +# mark 0x80000000 reject with tcp reset ip6 test-ip6 output [ payload load 1b @ network header + 6 => reg 1 ] [ cmp eq reg 1 0x00000006 ] + [ meta load mark => reg 1 ] + [ cmp eq reg 1 0x80000000 ] [ reject type 1 code 0 ] -- cgit v1.2.3