summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-05-08 00:01:58 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-05-08 00:01:58 +0000
commit162a814ef4fcd4d08d406f08e8247fb33c8d8ba3 (patch)
tree6a515ce9029e1432cba68b7cbfdaa890f560558f
parent3612b1e7c034e68849b310e0d73aeca8016b7329 (diff)
downloadmtk-20170518-162a814ef4fcd4d08d406f08e8247fb33c8d8ba3.zip
mtk-20170518-162a814ef4fcd4d08d406f08e8247fb33c8d8ba3.tar.gz
mtk-20170518-162a814ef4fcd4d08d406f08e8247fb33c8d8ba3.tar.bz2
only ignore dhcp but still listen for dns closes #3406
SVN-Revision: 11062
-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 1a24612..cd44de8 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -185,7 +185,7 @@ dhcp_add() {
DNS_SERVERS="$DNS_SERVERS $dnsserver"
}
- append_bool "$cfg" ignore "-I $ifname"
+ append_bool "$cfg" ignore "-2 $ifname"
config_get proto "$net" proto
[ static = "$proto" ] || return 0