mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
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
This commit is contained in:
parent
6835807606
commit
c66b290e54
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user