Skip to content
Snippets Groups Projects
Commit 162a814e authored by Travis Kemen's avatar Travis Kemen
Browse files

only ignore dhcp but still listen for dns closes #3406

SVN-Revision: 11062
parent 3612b1e7
No related branches found
No related tags found
No related merge requests found
...@@ -185,7 +185,7 @@ dhcp_add() { ...@@ -185,7 +185,7 @@ dhcp_add() {
DNS_SERVERS="$DNS_SERVERS $dnsserver" DNS_SERVERS="$DNS_SERVERS $dnsserver"
} }
append_bool "$cfg" ignore "-I $ifname" append_bool "$cfg" ignore "-2 $ifname"
config_get proto "$net" proto config_get proto "$net" proto
[ static = "$proto" ] || return 0 [ static = "$proto" ] || return 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment