From ad92ed77e77fe421a86f0fde907c51286ed47928 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 4 Jan 2018 13:21:26 +0100 Subject: Fix "don't update counters" mode when counters used at the matching The matching of the counters was not taken into account, fixed. --- tests/hash:net.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/hash:net.t') diff --git a/tests/hash:net.t b/tests/hash:net.t index 4db9e9a..501f63e 100644 --- a/tests/hash:net.t +++ b/tests/hash:net.t @@ -86,6 +86,8 @@ 0 ipset -A test 1.1.1.0/26 # Check non-matching IP 1 ipset -T test 1.1.1.1 +# Check non-matching IP with nomatch flag +0 ipset -T test 1.1.1.1 nomatch # Check matching IP from non-matchin small net 0 ipset -T test 1.1.1.3 # Check non-matching IP from larger net -- cgit v1.2.3