summaryrefslogtreecommitdiffstats
path: root/tests/hash:net.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hash:net.t')
-rw-r--r--tests/hash:net.t2
1 files changed, 2 insertions, 0 deletions
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