diff options
author | John Crispin <john@openwrt.org> | 2014-03-30 13:07:52 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-03-30 13:07:52 +0000 |
commit | c7168b64ef2ad8ab7390ee00acaee20c5e51a6f7 (patch) | |
tree | dbf9a121f958854f5ead7be19a5658c20530da2e /package/network/config | |
parent | 1fdf13a9e1d0a5e3b7fa28906cc93ceb8d825fe2 (diff) | |
download | upstream-c7168b64ef2ad8ab7390ee00acaee20c5e51a6f7.tar.gz upstream-c7168b64ef2ad8ab7390ee00acaee20c5e51a6f7.tar.bz2 upstream-c7168b64ef2ad8ab7390ee00acaee20c5e51a6f7.zip |
dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40332
Diffstat (limited to 'package/network/config')
-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 |