commit | e78c69c8146c5dcd096ba13ac03d7a7bb90e3ea7 | [log] [tgz] |
---|---|---|
author | Lutz Jaenicke <ljaenicke@innominate.com> | Sat Dec 09 13:06:04 2006 +0000 |
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | Sat Dec 09 13:06:04 2006 +0000 |
tree | 63fbb5f19945b545b4f4fa88dea92083f42d5d14 | |
parent | 72f7962bc4972fd823a14cc81f2ed6d7a2060cae [diff] [blame] |
fix compile/install error for iptables-xml with DO_MULTI=1 (Lutz Jaenicke)
diff --git a/ip6tables-restore.c b/ip6tables-restore.c index f7eac68..a0c359a 100644 --- a/ip6tables-restore.c +++ b/ip6tables-restore.c
@@ -74,7 +74,7 @@ return handle; } -int parse_counters(char *string, struct ip6t_counters *ctr) +static int parse_counters(char *string, struct ip6t_counters *ctr) { return (sscanf(string, "[%llu:%llu]", (unsigned long long *)&ctr->pcnt, (unsigned long long *)&ctr->bcnt) == 2); }