From 3d11b21da2540b972e6197219fecc10b1773a685 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org" Date: Wed, 22 Jun 2005 12:24:21 +0000 Subject: reduce code replication of parse_interface() (Yasuyuki Kozakai) --- ip6tables.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ip6tables.c') diff --git a/ip6tables.c b/ip6tables.c index fd38a2d..9bfe1d3 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -829,8 +829,7 @@ parse_protocol(const char *s) return (u_int16_t)proto; } -static void -parse_interface(const char *arg, char *vianame, unsigned char *mask) +void parse_interface(const char *arg, char *vianame, unsigned char *mask) { int vialen = strlen(arg); unsigned int i; -- cgit v1.2.3