From: Youza Youzovic Date: Tue, 24 Aug 2004 18:59:05 +0000 (+0000) Subject: add missing spaces in 'save' printout (youza@post.cz) (Closes: #235) X-Git-Tag: v1.3.0-rc1~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=161b35f372c1612863f9ebd327e6c4a9f0959e2a;p=thirdparty%2Fiptables.git add missing spaces in 'save' printout (youza@post.cz) (Closes: #235) --- 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