dhcp: Fix broadcast parameter validation support, remove unused netmask parameter
authorJohn Crispin <john@openwrt.org>
Sun, 30 Mar 2014 13:07:52 +0000 (13:07 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 30 Mar 2014 13:07:52 +0000 (13:07 +0000)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40332

package/network/config/netifd/files/lib/netifd/proto/dhcp.sh

index 93f4a5e09a5cf0b9fe4be98811ff519a69325c80..dc8c97c8fe567f47e191c6cd9521cd530f22b503 100755 (executable)
@@ -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