From e85943d41a4915a7515f92eecf9041642ebb08d9 Mon Sep 17 00:00:00 2001 From: Markus Wigge Date: Tue, 5 May 2009 11:00:00 +0000 Subject: fixed dnsmasq init for "ignore" option dnsmasq.init tried to set range options even when ignore was set to "1". Now the functions stops processing after evaluating the "ignore" option when the result is > 0 SVN-Revision: 15618 --- package/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/dnsmasq') diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 7a1530f..3f8dca9 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -220,7 +220,7 @@ dhcp_add() { DNS_SERVERS="$DNS_SERVERS $dnsserver" } - append_bool "$cfg" ignore "-2 $ifname" + append_bool "$cfg" ignore "-2 $ifname" && return 0 config_get proto "$net" proto [ static = "$proto" ] || return 0 -- cgit v1.1