aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit4bbb272f489913810f809b175c09d22460edff15 (patch)
tree383abdcf9d8c5f9aafb561553663f676719ea4b1 /package
parent60c17a9e9cd4d774f71c5e5b639d2f80d89cd06e (diff)
downloadupstream-4bbb272f489913810f809b175c09d22460edff15.tar.gz
upstream-4bbb272f489913810f809b175c09d22460edff15.tar.bz2
upstream-4bbb272f489913810f809b175c09d22460edff15.zip
dnsmasq: prevent bad command line error when a dhcp pool has ignore set and the corresponding iface has only whitespace as value
SVN-Revision: 20048
Diffstat (limited to 'package')
-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