summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/hash:net6,port,net6.t12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/hash:net6,port,net6.t b/tests/hash:net6,port,net6.t
index 63587e3..5793b2d 100644
--- a/tests/hash:net6,port,net6.t
+++ b/tests/hash:net6,port,net6.t
@@ -1,11 +1,17 @@
# Range: Create a set
0 ipset -N test netportnethash -6
# Range: Add zero valued element
-1 ipset -A test 2:0:0::1/24,0,0:0:0::0/0
+1 ipset -A test 0::0/0,0:0,0:0:0::0/0
# Range: Test zero valued element
-1 ipset -T test 2:0:0::1/24,0,0:0:0::0/0
+1 ipset -T test 0::0/0,0:0,0:0:0::0/0
# Range: Delete zero valued element
-1 ipset -D test 2:0:0::1,0,0:0:0::0/0
+1 ipset -D test 0::0/0,0,0:0:0:0::0/0
+# Range: Add almost zero valued element
+0 ipset -A test 2:0:0::1/24,0,0:0:0::0/0
+# Range: Test almost zero valued element
+0 ipset -T test 2:0:0::1/24,0,0:0:0::0/0
+# Range: Delete almost zero valued element
+0 ipset -D test 2:0:0::1/24,0,0:0:0::0/0
# Range: Add almost zero valued element
0 ipset -A test 2:0:0::1,0,0:0:0::0/24
# Range: Test almost zero valued element