From 9de986bfff0f6d7497bd9998de83906e5d5da168 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/emailAddress=kadlec@netfilter.org" Date: Mon, 3 Jan 2005 08:55:10 +0000 Subject: Bug in macipmap (saving) fixed --- ipset_macipmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipset_macipmap.c') 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"); -- cgit v1.2.3