Browse Source

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

SVN-Revision: 32098
Jo-Philipp Wich 13 years ago
parent
commit
1760bf569a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/netifd/files/lib/netifd/proto/dhcp.sh

+ 1 - 1
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=