From 9867e814492275cabfbccd6b30375b0e23eb10cb Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI 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 f8250cef..92c6c49c 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