diff options
author | Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp> | 2005-06-22 12:24:21 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2005-06-22 12:24:21 +0000 |
commit | 9867e814492275cabfbccd6b30375b0e23eb10cb (patch) | |
tree | d8b31329c2cd532ecbe017d38b18856101b25811 /iptables.c | |
parent | a3a9c0d3e3d9df70c5ea2e64ef792e194dbfbde7 (diff) |
reduce code replication of parse_interface() (Yasuyuki Kozakai)
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |