summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-08 00:01:58 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-08 00:01:58 +0000
commit06cb59cd07e68270c8d0bbe281232ac8ef25ed26 (patch)
treefb46e3d08ff1e5fa83a5ab18f424b6f1fdd4bd19
parent4f5fd629a391c1a9fb05fc6002c5cfad735a1f43 (diff)
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
-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