base-files: fix a typo in processing of additional dhcp request opts
[openwrt/staging/dedeckeh.git] / 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
-                               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)