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) --- iptables.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'iptables.c') diff --git a/iptables.c b/iptables.c index f8250ce..92c6c49 100644 --- a/iptables.c +++ b/iptables.c @@ -769,8 +769,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