diff options
author | Steven Barth <cyrus@openwrt.org> | 2013-10-17 13:12:06 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2013-10-17 13:12:06 +0000 |
commit | 56bc5367139aeb9ac08ad528d7bf1c52af25d54a (patch) | |
tree | 16411392d18f11096eadd3d3d5213286b178deee /package | |
parent | c759b49a4ff8da29d40dd996528ed50807eda438 (diff) | |
download | upstream-56bc5367139aeb9ac08ad528d7bf1c52af25d54a.tar.gz upstream-56bc5367139aeb9ac08ad528d7bf1c52af25d54a.tar.bz2 upstream-56bc5367139aeb9ac08ad528d7bf1c52af25d54a.zip |
netifd: rename customopts to sendopts for consistency
SVN-Revision: 38437
Diffstat (limited to 'package')
-rwxr-xr-x | package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 8 |
1 files changed, 4 insertions, 4 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 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 |