From: Steven Barth Date: Thu, 17 Oct 2013 13:12:06 +0000 (+0000) Subject: netifd: rename customopts to sendopts for consistency X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=cd767931e1b7a878d6c5e4ce34f63588209fccef netifd: rename customopts to sendopts for consistency SVN-Revision: 38437 --- 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 1e0aa68881..0117b27ff8 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -13,22 +13,22 @@ proto_dhcp_init_config() { proto_config_add_boolean "broadcast" proto_config_add_string "reqopts" proto_config_add_string "iface6rd" - proto_config_add_string "customopts" + proto_config_add_string "sendopts" } proto_dhcp_setup() { local config="$1" local iface="$2" - local ipaddr hostname clientid vendorid broadcast reqopts iface6rd customopts - json_get_vars ipaddr hostname clientid vendorid broadcast reqopts iface6rd customopts + local ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts + json_get_vars ipaddr hostname clientid vendorid broadcast reqopts iface6rd sendopts local opt dhcpopts for opt in $reqopts; do append dhcpopts "-O $opt" done - for opt in $customopts; do + for opt in $sendopts; do append dhcpopts "-x $opt" done