]> git.ipfire.org Git - thirdparty/ipset.git/commitdiff
Bug in macipmap (saving) fixed
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/emailAddress=kadlec@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/emailAddress=kadlec@netfilter.org>
Mon, 3 Jan 2005 08:55:10 +0000 (08:55 +0000)
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/emailAddress=kadlec@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/emailAddress=kadlec@netfilter.org>
Mon, 3 Jan 2005 08:55:10 +0000 (08:55 +0000)
ChangeLog
ipset_macipmap.c

index 4ed34ff932929193f42616f09b773a2fa3defab9..39a314702c27f95529ef460f494f869d6dbdb1c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 5d12af458bed87a1c3e1d58adf85f36e6c254218..d3b59b0babeea058c86209cf6920129d6aade266 100644 (file)
@@ -259,10 +259,10 @@ void saveheader(struct set *set, unsigned options)
        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");