From dfba3ac05e9844a07e87d2c01be4917dc1a487c1 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Thu, 5 Dec 2002 20:20:29 +0000 Subject: Fix save() function of libipt_conntrack (Michael Schwendt) --- extensions/libipt_conntrack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions') diff --git a/extensions/libipt_conntrack.c b/extensions/libipt_conntrack.c index f190a3be..0cf07654 100644 --- a/extensions/libipt_conntrack.c +++ b/extensions/libipt_conntrack.c @@ -409,7 +409,7 @@ matchinfo_print(const struct ipt_ip *ip, const struct ipt_entry_match *match, in if(sinfo->flags & IPT_CONNTRACK_STATE) { printf("%sctstate ", optpfx); if (sinfo->invflags & IPT_CONNTRACK_STATE) - fputc('!', stdout); + printf("! "); print_state(sinfo->statemask); } @@ -456,14 +456,14 @@ matchinfo_print(const struct ipt_ip *ip, const struct ipt_entry_match *match, in if(sinfo->flags & IPT_CONNTRACK_STATUS) { printf("%sctstatus ", optpfx); if (sinfo->invflags & IPT_CONNTRACK_STATE) - fputc('!', stdout); + printf("! "); print_status(sinfo->statusmask); } if(sinfo->flags & IPT_CONNTRACK_EXPIRES) { printf("%sctexpire ", optpfx); if (sinfo->invflags & IPT_CONNTRACK_EXPIRES) - fputc('!', stdout); + printf("! "); if (sinfo->expires_max == sinfo->expires_min) printf("%lu ", sinfo->expires_min); -- cgit v1.2.3