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/inet/reject.t.payload.inet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/py/inet/reject.t.payload.inet') diff --git a/tests/py/inet/reject.t.payload.inet b/tests/py/inet/reject.t.payload.inet index 5770330d..7a6468e8 100644 --- a/tests/py/inet/reject.t.payload.inet +++ b/tests/py/inet/reject.t.payload.inet @@ -64,10 +64,12 @@ inet test-inet input [ cmp eq reg 1 0x0000000a ] [ reject type 0 code 4 ] -# reject with tcp reset +# mark 12345 reject with tcp reset inet test-inet input [ meta load l4proto => reg 1 ] [ cmp eq reg 1 0x00000006 ] + [ meta load mark => reg 1 ] + [ cmp eq reg 1 0x00003039 ] [ reject type 1 code 0 ] # reject -- cgit v1.2.3