From 55b521b40695ef0c828b17112c0ce4b1f45822a0 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 8 Mar 2010 03:52:04 +0000 Subject: [PATCH] [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 --- package/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 7955fdb0e..0c038b7d3 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 -- 2.35.1