[package] dnsmasq: prevent bad command line error when a dhcp pool has ignore set...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Mar 2010 03:52:04 +0000 (03:52 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 8 Mar 2010 03:52:04 +0000 (03:52 +0000)
SVN-Revision: 20048

package/dnsmasq/files/dnsmasq.init

index 7955fdb..0c038b7 100644 (file)
@@ -235,7 +235,7 @@ dhcp_add() {
                DNS_SERVERS="$DNS_SERVERS $dnsserver"
        }
 
-       append_bool "$cfg" ignore "-2 $ifname" && return 0
+       append_bool "$cfg" ignore "-2 '$ifname'" && return 0
 
        config_get proto "$net" proto
        [ static = "$proto" ] || return 0