[netfilter-cvslog] r6591 - trunk/ipset

kadlec at netfilter.org kadlec at netfilter.org
Mon May 8 11:36:41 CEST 2006


Author: kadlec at netfilter.org
Date: 2006-05-08 11:36:40 +0200 (Mon, 08 May 2006)
New Revision: 6591

Modified:
   trunk/ipset/ChangeLog
   trunk/ipset/Makefile
   trunk/ipset/ipset.c
Log:
ipset 2.2.9 released


Modified: trunk/ipset/ChangeLog
===================================================================
--- trunk/ipset/ChangeLog	2006-04-28 08:10:08 UTC (rev 6590)
+++ trunk/ipset/ChangeLog	2006-05-08 09:36:40 UTC (rev 6591)
@@ -1,3 +1,15 @@
+2.2.9
+ - 'ipset -N' did not generate proper return code
+ - 'limit' module parameter added to the kernel modules of the
+   iphash, ipporthash, nethash and iptree type of sets so that
+   the maximal number of elements can now be limited
+ - zero valued entries (port 0 or IP address 0.0.0.0) were
+   detected as members of the hash/tree kind of sets
+   (reported by Andrew Kraslavsky)
+ - list and save operations used the external identifier
+   of the sets for the bindings instead of the internal one
+   (reported by Amin Azez)
+
 2.2.8
  - Nasty off-by-one bug fixed in iptree type of sets
    (bug reported by Pablo Sole)

Modified: trunk/ipset/Makefile
===================================================================
--- trunk/ipset/Makefile	2006-04-28 08:10:08 UTC (rev 6590)
+++ trunk/ipset/Makefile	2006-05-08 09:36:40 UTC (rev 6591)
@@ -8,7 +8,7 @@
 KERNEL_DIR=/usr/src/linux
 endif
 
-IPSET_VERSION:=2.2.8
+IPSET_VERSION:=2.2.9
 
 PREFIX:=/usr/local
 LIBDIR:=$(PREFIX)/lib

Modified: trunk/ipset/ipset.c
===================================================================
--- trunk/ipset/ipset.c	2006-04-28 08:10:08 UTC (rev 6590)
+++ trunk/ipset/ipset.c	2006-05-08 09:36:40 UTC (rev 6591)
@@ -386,7 +386,7 @@
 			   req_version.version, IP_SET_PROTOCOL_VERSION);
 }
 
-static void set_command(int *cmd, const int newcmd)
+static void set_command(unsigned *cmd, const int newcmd)
 {
 	if (*cmd != CMD_NONE)
 		exit_error(PARAMETER_PROBLEM, "Can't use -%c with -%c\n",
@@ -2099,7 +2099,8 @@
 					exit_error(PARAMETER_PROBLEM,
 						   "Unknown arg `%s'",
 						   argv[optind - 1]);
-
+				
+				res = 0;
 			}
 
 			DP("next arg");




More information about the netfilter-cvslog mailing list