From b3e8f7feacf438e601aa2c7e96de92f3ca061b34 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 24 Nov 2011 16:49:54 +0100 Subject: Tests added to check ICMP/ICMPv6 type/code parsing --- tests/hash:net6,port.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/hash:net6,port.t') diff --git a/tests/hash:net6,port.t b/tests/hash:net6,port.t index 1638157..3b58523 100644 --- a/tests/hash:net6,port.t +++ b/tests/hash:net6,port.t @@ -34,6 +34,12 @@ 1 ipset test test 3:0:0::1,tcp:8 # Try to add IP address 0 ipset add test 3:0:0::1,tcp:8 +# Add ICMPv6 by type/code +0 ipset add test 192:168:68::95,icmpv6:1/4 +# Test ICMPv6 by type/code +0 ipset test test 192:168:68::95,icmpv6:1/4 +# Test ICMPv6 by name +0 ipset test test 192:168:68::95,icmpv6:port-unreachable # List set 0 ipset list test | sed 's/timeout ./timeout x/' > .foo0 && ./sort.sh .foo0 # Save set -- cgit v1.2.3