projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b3502f
)
fixed dnsmasq init for "ignore" option
author
Markus Wigge
<mwigge@marcant.net>
Tue, 5 May 2009 11:00:00 +0000
(11:00 +0000)
committer
Markus Wigge
<mwigge@marcant.net>
Tue, 5 May 2009 11:00:00 +0000
(11:00 +0000)
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
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 7a1530fdd3640278777bfa9e38f21b095f640c83..3f8dca959cea17f3b2a1994857aa3f54f7316d8f 100644
(file)
--- 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