aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-03-30 13:07:52 +0000
committerJohn Crispin <john@openwrt.org>2014-03-30 13:07:52 +0000
commitc7168b64ef2ad8ab7390ee00acaee20c5e51a6f7 (patch)
treedbf9a121f958854f5ead7be19a5658c20530da2e
parent1fdf13a9e1d0a5e3b7fa28906cc93ceb8d825fe2 (diff)
downloadupstream-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
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/proto/dhcp.sh3
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