diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-14 00:30:54 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-14 00:30:54 +0200 |
commit | c000b546d97aa97144ee2cdf396d46a039bb7f98 (patch) | |
tree | 90668d89cd3d96c041f9a117fc4c10d492125338 /proto.h | |
parent | b021a49efe0641f7c5ca763bc43e5ba73b7a1b5f (diff) |
proto-shell: allow passing netmask in ip address format
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,5 +53,6 @@ void proto_attach_interface(struct interface *iface, const char *proto_name); int interface_proto_event(struct interface_proto_state *proto, enum interface_proto_cmd cmd, bool force); struct device_addr *proto_parse_ip_addr_string(const char *str, bool v6, int mask); +unsigned int parse_netmask_string(const char *str, bool v6); #endif |