mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-11 16:40:27 +00:00
Support DHCP DNS server option if we're not doing DNS.
This commit is contained in:
1 parent
b0ff858e78
commit
a21e27bc99
3 files changed
+7
-2
No files matched your search
+1
-1
@@ -1265,7 +1265,7 @@ static int dhcp6_no_relay(int msg_type, struct in6_addr *link_address, struct dh
|
||||
end_opt6(o);
|
||||
}
|
||||
|
||||
if (!done_dns &&
|
||||
if (daemon->port == NAMESERVER_PORT && !done_dns &&
|
||||
(!IN6_IS_ADDR_UNSPECIFIED(&context->local6) ||
|
||||
!IN6_IS_ADDR_UNSPECIFIED(fallback)))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user