summaryrefslogtreecommitdiffstats
path: root/iptables-restore.c
diff options
context:
space:
mode:
authorLutz Jaenicke <ljaenicke@innominate.com>2006-12-09 13:06:04 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2006-12-09 13:06:04 +0000
commite78c69c8146c5dcd096ba13ac03d7a7bb90e3ea7 (patch)
tree63fbb5f19945b545b4f4fa88dea92083f42d5d14 /iptables-restore.c
parent72f7962bc4972fd823a14cc81f2ed6d7a2060cae (diff)
fix compile/install error for iptables-xml with DO_MULTI=1 (Lutz Jaenicke)
Diffstat (limited to 'iptables-restore.c')
-rw-r--r--iptables-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables-restore.c b/iptables-restore.c
index cc49c738..628997ec 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -71,7 +71,7 @@ iptc_handle_t create_handle(const char *tablename, const char* modprobe )
return handle;
}
-int parse_counters(char *string, struct ipt_counters *ctr)
+static int parse_counters(char *string, struct ipt_counters *ctr)
{
return (sscanf(string, "[%llu:%llu]", (unsigned long long *)&ctr->pcnt, (unsigned long long *)&ctr->bcnt) == 2);
}