From 3d0ef874ecc9f4cd3df504f5241171b9f4b65251 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 17 Feb 2022 12:52:20 +0100 Subject: tests: py: Test connlimit statement This wasn't covered at all. Signed-off-by: Phil Sutter --- tests/py/any/ct.t.payload | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/py/any/ct.t.payload') diff --git a/tests/py/any/ct.t.payload b/tests/py/any/ct.t.payload index 733276e1..ed868e53 100644 --- a/tests/py/any/ct.t.payload +++ b/tests/py/any/ct.t.payload @@ -508,3 +508,11 @@ ip6 [ bitwise reg 1 = ( reg 1 & 0x00000020 ) ^ 0x00000000 ] [ cmp eq reg 1 0x00000000 ] +# ct count 3 +ip test-ip4 output + [ connlimit count 3 flags 0 ] + +# ct count over 3 +ip test-ip4 output + [ connlimit count 3 flags 1 ] + -- cgit v1.2.3