From c000b546d97aa97144ee2cdf396d46a039bb7f98 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 14 Oct 2011 00:30:54 +0200 Subject: proto-shell: allow passing netmask in ip address format --- proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'proto.h') 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 -- cgit v1.2.3