summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorYasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>2005-06-22 12:24:21 +0000
committerHarald Welte <laforge@gnumonks.org>2005-06-22 12:24:21 +0000
commit9867e814492275cabfbccd6b30375b0e23eb10cb (patch)
treed8b31329c2cd532ecbe017d38b18856101b25811 /iptables.c
parenta3a9c0d3e3d9df70c5ea2e64ef792e194dbfbde7 (diff)
reduce code replication of parse_interface() (Yasuyuki Kozakai)
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c3
1 files changed, 1 insertions, 2 deletions
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;