summaryrefslogtreecommitdiffhomepage
path: root/proto.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-14 00:30:54 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-14 00:30:54 +0200
commitc000b546d97aa97144ee2cdf396d46a039bb7f98 (patch)
tree90668d89cd3d96c041f9a117fc4c10d492125338 /proto.h
parentb021a49efe0641f7c5ca763bc43e5ba73b7a1b5f (diff)
proto-shell: allow passing netmask in ip address format
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 32f4ffc..57426bd 100644
--- a/proto.h
+++ b/proto.h
@@ -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