diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-03-30 13:07:52 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-03-30 13:07:52 +0000 |
commit | 16bd2078624f11ef3539f24435aa1a0136bed544 (patch) | |
tree | 5dccd5b17adcfdda859feca69142e86d7bf10116 /package/network/config/netifd | |
parent | 1898a70fce6df8fe34d7c9c4c4713ea97bb7a1b8 (diff) |
dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40332 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/netifd')
-rwxr-xr-x | package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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 |