summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYouza Youzovic <youza@post.cz>2004-08-24 18:59:05 +0000
committerHarald Welte <laforge@gnumonks.org>2004-08-24 18:59:05 +0000
commit161b35f372c1612863f9ebd327e6c4a9f0959e2a (patch)
tree6c22ea4a8750284760d2cbb1afb821c9c47fe8a2
parent7defa34947c015cf8f8ea40dd29be5cedc9e73cd (diff)
add missing spaces in 'save' printout (youza@post.cz) (Closes: #235)
-rw-r--r--extensions/libipt_connbytes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/libipt_connbytes.c b/extensions/libipt_connbytes.c
index 28b938f0..782dc337 100644
--- a/extensions/libipt_connbytes.c
+++ b/extensions/libipt_connbytes.c
@@ -96,9 +96,9 @@ print(const struct ipt_ip *ip,
struct ipt_connbytes_info *sinfo = (struct ipt_connbytes_info *)match->data;
if (sinfo->from > sinfo->to)
- printf("connbytes ! %lu:%lu",sinfo->to,sinfo->from);
+ printf("connbytes ! %lu:%lu ",sinfo->to,sinfo->from);
else
- printf("connbytes %lu:%lu",sinfo->from,sinfo->to);
+ printf("connbytes %lu:%lu ",sinfo->from,sinfo->to);
}
/* Saves the matchinfo in parsable form to stdout. */
@@ -107,9 +107,9 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
struct ipt_connbytes_info *sinfo = (struct ipt_connbytes_info *)match->data;
if (sinfo->from > sinfo->to)
- printf("! --connbytes %lu:%lu",sinfo->to,sinfo->from);
+ printf("! --connbytes %lu:%lu ",sinfo->to,sinfo->from);
else
- printf("--connbytes %lu:%lu",sinfo->from,sinfo->to);
+ printf("--connbytes %lu:%lu ",sinfo->from,sinfo->to);
}
static