From 15c51df558bcb631f04473c57af1d820a9a24804 Mon Sep 17 00:00:00 2001 From: laforge Date: Thu, 5 Dec 2002 19:41:11 +0000 Subject: fix save() function of libipt_pool (Oskar Berggren) --- extensions/libipt_pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/libipt_pool.c b/extensions/libipt_pool.c index 666599d..082d76c 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)); } -- cgit v1.2.3