aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-08 03:52:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-08 03:52:04 +0000
commit1be2c3d1fa180837080411e84edf829b0adbbafe (patch)
tree62f6cf8f0fc46ec1ba26ed38a7ff2c9f86fecacd
parent74144be7da53a71b5f422dfc3bb3b7ff3c37d0d6 (diff)
downloadupstream-1be2c3d1fa180837080411e84edf829b0adbbafe.tar.gz
upstream-1be2c3d1fa180837080411e84edf829b0adbbafe.tar.bz2
upstream-1be2c3d1fa180837080411e84edf829b0adbbafe.zip
[package] dnsmasq: prevent bad command line error when a dhcp pool has ignore set and the corresponding iface has only whitespace as value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20048 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 7955fdb0ec..0c038b7d31 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -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