]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
fix save() function of libipt_pool (Oskar Berggren)
authorOskar Berggren <beo@sgs.o.se>
Thu, 5 Dec 2002 19:41:11 +0000 (19:41 +0000)
committerHarald Welte <laforge@gnumonks.org>
Thu, 5 Dec 2002 19:41:11 +0000 (19:41 +0000)
extensions/libipt_pool.c

index 666599de2c5793f54d15d698490dd67f30ef62d0..082d76c25887ab01fbf6a8aca5130ce67354198d 100644 (file)
@@ -113,11 +113,11 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
                (struct ipt_pool_info *)match->data;
 
        if (info->src != IP_POOL_NONE)
-               printf("%s--srcpool %s",
+               printf("%s--srcpool %s ",
                        (info->flags & IPT_POOL_INV_SRC) ? "! " : "",
                        ip_pool_get_name(buf, sizeof(buf), info->src, 0));
        if (info->dst != IP_POOL_NONE)
-               printf("%s--dstpool %s",
+               printf("%s--dstpool %s ",
                        (info->flags & IPT_POOL_INV_DST) ? "! " : "",
                        ip_pool_get_name(buf, sizeof(buf), info->dst, 0));
 }