[package] netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Jun 2012 10:54:03 +0000 (10:54 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Jun 2012 10:54:03 +0000 (10:54 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32098 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/netifd/files/lib/netifd/proto/dhcp.sh

index 1080dbf..70cfc86 100755 (executable)
@@ -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=