From: John Crispin Date: Sun, 30 Mar 2014 13:07:52 +0000 (+0000) Subject: dhcp: Fix broadcast parameter validation support, remove unused netmask parameter X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c7168b64ef2ad8ab7390ee00acaee20c5e51a6f7;p=openwrt%2Fstaging%2F981213.git dhcp: Fix broadcast parameter validation support, remove unused netmask parameter Signed-off-by: Hans Dedecker SVN-Revision: 40332 --- 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