summaryrefslogtreecommitdiffstats
path: root/tests/ipporthash.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ipporthash.t')
-rw-r--r--tests/ipporthash.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ipporthash.t b/tests/ipporthash.t
index edbbb0c..fe246a3 100644
--- a/tests/ipporthash.t
+++ b/tests/ipporthash.t
@@ -2,6 +2,10 @@
2 ipset -N test ipporthash --from 2.0.0.1 --to 2.1.0.1
# Range: Create a set from a valid range
0 ipset -N test ipporthash --from 2.0.0.1 --to 2.1.0.0
+# Range: Add zero valued element
+1 ipset -A test 2.0.0.1,0
+# Range: Test zero valued element
+1 ipset -T test 2.0.0.1,0
# Range: Add lower boundary
0 ipset -A test 2.0.0.1,5
# Range: Add upper boundary