From 1760bf569a1d3e616b1d842b6c5c644c6df73d2c Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Thu, 7 Jun 2012 10:54:03 +0000
Subject: [PATCH] netifd: fix typo in dhcp protocol handler, fixes reqopt
 handling (#11609)

SVN-Revision: 32098
---
 package/netifd/files/lib/netifd/proto/dhcp.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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=
-- 
2.30.2