From c7168b64ef2ad8ab7390ee00acaee20c5e51a6f7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 30 Mar 2014 13:07:52 +0000 Subject: dhcp: Fix broadcast parameter validation support, remove unused netmask parameter Signed-off-by: Hans Dedecker SVN-Revision: 40332 --- package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/network') diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh index 93f4a5e09a..dc8c97c8fe 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -6,11 +6,10 @@ init_proto "$@" proto_dhcp_init_config() { proto_config_add_string 'ipaddr:ipaddr' - proto_config_add_string 'netmask:ipaddr' proto_config_add_string 'hostname:hostname' proto_config_add_string clientid proto_config_add_string vendorid - proto_config_add_boolean 'broadcast:ipaddr' + proto_config_add_boolean 'broadcast:bool' proto_config_add_string 'reqopts:list(string)' proto_config_add_string iface6rd proto_config_add_string sendopts -- cgit v1.2.3