summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-07 10:54:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-07 10:54:03 +0000
commit1760bf569a1d3e616b1d842b6c5c644c6df73d2c (patch)
tree6715529307f4dab95a56ca1e8c22abdc854551ca
parent6e5242952c41b9994a214a4acd2fc76c3ae51f70 (diff)
downloadmtk-20170518-1760bf569a1d3e616b1d842b6c5c644c6df73d2c.zip
mtk-20170518-1760bf569a1d3e616b1d842b6c5c644c6df73d2c.tar.gz
mtk-20170518-1760bf569a1d3e616b1d842b6c5c644c6df73d2c.tar.bz2
netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)
SVN-Revision: 32098
-rwxr-xr-xpackage/netifd/files/lib/netifd/proto/dhcp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 1080dbf..70cfc86 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -22,7 +22,7 @@ proto_dhcp_setup() {
local opt dhcpopts
for opt in $reqopts; do
- append dhcpopts "-O opt"
+ append dhcpopts "-O $opt"
done
[ "$broadcast" = 1 ] && broadcast="-O broadcast" || broadcast=