base-files: fix a typo in processing of additional dhcp request opts
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 29 Jan 2011 17:06:07 +0000 (17:06 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 29 Jan 2011 17:06:07 +0000 (17:06 +0000)
SVN-Revision: 25239

package/base-files/files/lib/network/config.sh

index b59b1f232659e7b834b2b2a5b0c8091eb1a0cf03..4a6cb7cb47ac33112ad147d0e08e230b1202f51b 100755 (executable)
@@ -363,7 +363,7 @@ setup_interface() {
                        # additional request options
                        local opt dhcpopts
                        for opt in $reqopts; do
                        # additional request options
                        local opt dhcpopts
                        for opt in $reqopts; do
-                               append dhcpopts -O "$opt"
+                               append dhcpopts "-O $opt"
                        done
 
                        # don't stay running in background if dhcp is not the main proto on the interface (e.g. when using pptp)
                        done
 
                        # don't stay running in background if dhcp is not the main proto on the interface (e.g. when using pptp)