ソースを参照

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

SVN-Revision: 32098
Jo-Philipp Wich 13 年 前
コミット
1760bf569a
1 ファイル変更1 行追加1 行削除
  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=