From 46fb717308d9d717439badd48c150e32a3508a90 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu" Date: Thu, 23 Oct 2008 17:24:30 +0000 Subject: ipset 2.4.2: - When flushing a nethash/ipportnethash type of set, it can lead to a kernel crash due to a wrong type declaration, bug reported by Krzysztof Oledzki. - iptree and iptreemap types require the header file linux/timer.h, also reported by Krzysztof Oledzki. --- tests/portmap.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/portmap.t') diff --git a/tests/portmap.t b/tests/portmap.t index e616f15..299877a 100644 --- a/tests/portmap.t +++ b/tests/portmap.t @@ -18,7 +18,9 @@ 1 ipset -A test 0 # Range: Try to add value after upper boundary 1 ipset -A test 1025 -# Range: Delete test test +# Range: Flush test set +0 ipset -F test +# Range: Delete test set 0 ipset -X test # Full: Create a full set of ports 0 ipset -N test portmap --from 0 --to 65535 @@ -32,6 +34,8 @@ 0 ipset -T test 65535 # Full: Test value not added to the set 1 ipset -T test 1 +# Full: Flush test set +0 ipset -F test # Full: Delete test set 0 ipset -X test # eof -- cgit v1.2.3