netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 7 Jun 2012 10:54:03 +0000 (10:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 7 Jun 2012 10:54:03 +0000 (10:54 +0000)
SVN-Revision: 32098

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

index 1080dbf5edd511611b86961f2b64a119d2341105..70cfc86d18018a927172c31965c5439bd40396fc 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=