Signed-off-by: Asbjørn Sloth Tønnesen <ast@xxxxxxxxxx> --- tests/conntrack/testsuite/01delete | 4 ++++ tests/conntrack/testsuite/02filter | 2 ++ 2 files changed, 6 insertions(+) diff --git a/tests/conntrack/testsuite/01delete b/tests/conntrack/testsuite/01delete index 566b89f..194d999 100644 --- a/tests/conntrack/testsuite/01delete +++ b/tests/conntrack/testsuite/01delete @@ -10,3 +10,7 @@ -D -s 1.1.1.0 --mask-src 255.255.255.0 -d 2.2.2.0 --mask-dst 255.255.255.0 ; OK # fails due to 0 matches -D -s 1.1.1.0 --mask-src 255.255.255.0 -d 2.2.2.0 --mask-dst 255.255.255.0 ; BAD +# re-create dummy +-I -s 1.1.1.1 -d 2.2.2.2 -p tcp --sport 10 --dport 20 --state LISTEN -u SEEN_REPLY -t 50 ; OK +# try same command again but with CIDR +-D -s 1.1.1.0/24 -d 2.2.2.0/24 ; OK diff --git a/tests/conntrack/testsuite/02filter b/tests/conntrack/testsuite/02filter index 5d2270b..58ed070 100644 --- a/tests/conntrack/testsuite/02filter +++ b/tests/conntrack/testsuite/02filter @@ -21,5 +21,7 @@ conntrack -L --mark 0 ; OK conntrack -L --mark 0/0xffffffff; OK # filter by netmask conntrack -L -s 1.1.1.0 --mask-src 255.255.255.0 -d 2.0.0.0 --mask-dst 255.0.0.0 ; OK +conntrack -L -s 1.1.1.4/24 -d 2.3.4.5/8 ; OK +conntrack -L -s 1.1.2.0/24 -d 2.3.4.5/8 ; BAD # delete dummy conntrack -D -d 2.2.2.2 ; OK -- 2.6.4 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html