summaryrefslogtreecommitdiffstats
path: root/ip6tables.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 /ip6tables.c
parenta3a9c0d3e3d9df70c5ea2e64ef792e194dbfbde7 (diff)
reduce code replication of parse_interface() (Yasuyuki Kozakai)
Diffstat (limited to 'ip6tables.c')
-rw-r--r--ip6tables.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ip6tables.c b/ip6tables.c
index fd38a2db..9bfe1d38 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;