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 /include/iptables.h | |
parent | a3a9c0d3e3d9df70c5ea2e64ef792e194dbfbde7 (diff) |
reduce code replication of parse_interface() (Yasuyuki Kozakai)
Diffstat (limited to 'include/iptables.h')
-rw-r--r-- | include/iptables.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h index 25f36aeb..f0cad8da 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -152,6 +152,7 @@ extern char *mask_to_dotted(const struct in_addr *mask); extern void parse_hostnetworkmask(const char *name, struct in_addr **addrpp, struct in_addr *maskp, unsigned int *naddrs); extern u_int16_t parse_protocol(const char *s); +extern void parse_interface(const char *arg, char *vianame, unsigned char *mask); extern int do_command(int argc, char *argv[], char **table, iptc_handle_t *handle); |