From 161b35f372c1612863f9ebd327e6c4a9f0959e2a Mon Sep 17 00:00:00 2001 From: Youza Youzovic Date: Tue, 24 Aug 2004 18:59:05 +0000 Subject: add missing spaces in 'save' printout (youza@post.cz) (Closes: #235) --- extensions/libipt_connbytes.c | 8 ++++---- 1 file 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 -- cgit v1.2.3