aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq
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
commit265e3a8161c78b93dc925d40943bf5a9837639dd (patch)
treefb46e3d08ff1e5fa83a5ab18f424b6f1fdd4bd19 /package/dnsmasq
parenta91bb11f6a071a0f9ac3756eec2bfff57d140e1b (diff)
downloadupstream-265e3a8161c78b93dc925d40943bf5a9837639dd.tar.gz
upstream-265e3a8161c78b93dc925d40943bf5a9837639dd.tar.bz2
upstream-265e3a8161c78b93dc925d40943bf5a9837639dd.zip
only ignore dhcp but still listen for dns closes #3406
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11062 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq')
-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 1a24612633..cd44de8592 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