]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
add missing spaces in 'save' printout (youza@post.cz) (Closes: #235)
authorYouza Youzovic <youza@post.cz>
Tue, 24 Aug 2004 18:59:05 +0000 (18:59 +0000)
committerHarald Welte <laforge@gnumonks.org>
Tue, 24 Aug 2004 18:59:05 +0000 (18:59 +0000)
extensions/libipt_connbytes.c

index 28b938f0b53cbbeedf62fe0bc2c49780b85b80a9..782dc337947578fbf4a404fd081c227f74577a4c 100644 (file)
@@ -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