diff options
author | Steven Barth <steven@midlink.org> | 2013-10-17 13:12:06 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-10-17 13:12:06 +0000 |
commit | 56e7732aa0dc37e34adee3a350c84ef66643c0d4 (patch) | |
tree | a298c900cdfa4c113c0b5407c7706dde11c966a1 /package | |
parent | b8574ae0b511c4dba4feb57ebc4547d836844fed (diff) | |
download | master-187ad058-56e7732aa0dc37e34adee3a350c84ef66643c0d4.tar.gz master-187ad058-56e7732aa0dc37e34adee3a350c84ef66643c0d4.tar.bz2 master-187ad058-56e7732aa0dc37e34adee3a350c84ef66643c0d4.zip |
netifd: rename customopts to sendopts for consistency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38437 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |