diff options
author | Oskar Berggren <beo@sgs.o.se> | 2002-12-05 19:41:11 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2002-12-05 19:41:11 +0000 |
commit | 2ef6881edb3509b5ed650e5a1ad1f78ea0d06560 (patch) | |
tree | 90c47a690c0ffe53cdd9bc9b5eb95adb26f430bf | |
parent | 9647359b12021df45159f38d6c16687b58623434 (diff) |
fix save() function of libipt_pool (Oskar Berggren)
-rw-r--r-- | extensions/libipt_pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_pool.c b/extensions/libipt_pool.c index 666599de..082d76c2 100644 --- a/extensions/libipt_pool.c +++ b/extensions/libipt_pool.c @@ -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)); } |