[netfilter-cvslog] r3560 - trunk/ipset

kadlec at netfilter.org kadlec at netfilter.org
Mon Jan 3 09:55:10 CET 2005


Author: kadlec at netfilter.org
Date: 2005-01-03 09:55:10 +0100 (Mon, 03 Jan 2005)
New Revision: 3560

Modified:
   trunk/ipset/ChangeLog
   trunk/ipset/ipset_macipmap.c
Log:
Bug in macipmap (saving) fixed


Modified: trunk/ipset/ChangeLog
===================================================================
--- trunk/ipset/ChangeLog	2005-01-03 07:48:06 UTC (rev 3559)
+++ trunk/ipset/ChangeLog	2005-01-03 08:55:10 UTC (rev 3560)
@@ -1,3 +1,7 @@
+2.0.1
+ - Cut'n'paste bug at saving macipmap types fixed
+   Thanks to Vincent Bernat for the bugreport.
+
 2.0
  - Chaining of sets are changed: child sets replaced by bindings
  - Kernel-userspace communication reorganized to minimize the number

Modified: trunk/ipset/ipset_macipmap.c
===================================================================
--- trunk/ipset/ipset_macipmap.c	2005-01-03 07:48:06 UTC (rev 3559)
+++ trunk/ipset/ipset_macipmap.c	2005-01-03 08:55:10 UTC (rev 3560)
@@ -259,10 +259,10 @@
 	struct ip_set_macipmap *mysetdata =
 	    (struct ip_set_macipmap *) set->settype->header;
 
-	printf("-N %s %s --from: %s",
+	printf("-N %s %s --from %s",
 	       set->name, set->settype->typename,
 	       ip_tostring(mysetdata->first_ip, options));
-	printf(" --to: %s", ip_tostring(mysetdata->last_ip, options));
+	printf(" --to %s", ip_tostring(mysetdata->last_ip, options));
 
 	if (mysetdata->flags & IPSET_MACIP_MATCHUNSET)
 		printf(" --matchunset");




More information about the netfilter-cvslog mailing list