From: Jo-Philipp Wich <jow@openwrt.org>
Date: Thu, 7 Jun 2012 10:54:03 +0000 (+0000)
Subject: netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)
X-Git-Tag: reboot~13669
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1760bf569a1d3e616b1d842b6c5c644c6df73d2c;p=openwrt%2Fstaging%2Fblogic.git

netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)

SVN-Revision: 32098
---

diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 1080dbf5edd5..70cfc86d1801 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=