From 6c6928721a1bfc8f941ba805af9b071850580fb6 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=yasuyuki/emailAddress=yasuyuki@netfilter.org" Date: Sat, 9 Dec 2006 13:06:04 +0000 Subject: fix compile/install error for iptables-xml with DO_MULTI=1 (Lutz Jaenicke) --- ip6tables-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip6tables-restore.c') 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 @@ ip6tc_handle_t create_handle(const char *tablename, const char* modprobe) 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); } -- cgit v1.2.3