aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMarkus Wigge <markus@cultcom.de>2009-05-05 11:00:00 +0000
committerMarkus Wigge <markus@cultcom.de>2009-05-05 11:00:00 +0000
commit865fa3dad4fd5d1e8c75db6e6ee14e237edf4cbd (patch)
tree9de8635fa43993c1d1cab0685e814e5052091913 /package
parentc8cd3babef39b5360cb66302ee1e89cdf1998efb (diff)
downloadupstream-865fa3dad4fd5d1e8c75db6e6ee14e237edf4cbd.tar.gz
upstream-865fa3dad4fd5d1e8c75db6e6ee14e237edf4cbd.tar.bz2
upstream-865fa3dad4fd5d1e8c75db6e6ee14e237edf4cbd.zip
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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15618 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 7a1530fdd3..3f8dca959c 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