diff options
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> | 2005-01-03 08:55:10 +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> | 2005-01-03 08:55:10 +0000 |
commit | 9de986bfff0f6d7497bd9998de83906e5d5da168 (patch) | |
tree | f3f5ad17cbbcc46a7f2306dcfeca58bd516da54c | |
parent | a0e6c3761fc58dee28a736baac0e4a20af0a2b36 (diff) |
Bug in macipmap (saving) fixed
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ipset_macipmap.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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 diff --git a/ipset_macipmap.c b/ipset_macipmap.c index 5d12af4..d3b59b0 100644 --- a/ipset_macipmap.c +++ b/ipset_macipmap.c @@ -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"); |