From 162a814ef4fcd4d08d406f08e8247fb33c8d8ba3 Mon Sep 17 00:00:00 2001
From: Travis Kemen <thepeople@openwrt.org>
Date: Thu, 8 May 2008 00:01:58 +0000
Subject: [PATCH] only ignore dhcp but still listen for dns closes #3406

SVN-Revision: 11062
---
 package/dnsmasq/files/dnsmasq.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
GitLab