From: Travis Kemen Date: Thu, 8 May 2008 00:01:58 +0000 (+0000) Subject: only ignore dhcp but still listen for dns closes #3406 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=162a814ef4fcd4d08d406f08e8247fb33c8d8ba3;p=openwrt%2Fstaging%2Fkaloz.git only ignore dhcp but still listen for dns closes #3406 SVN-Revision: 11062 --- 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