reduce code replication of parse_interface() (Yasuyuki Kozakai)
diff --git a/ip6tables.c b/ip6tables.c
index fd38a2d..9bfe1d3 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -829,8 +829,7 @@
 	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;