mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix wrong fallback address in DHCPv6
This commit is contained in:
@@ -244,7 +244,7 @@ static int complete_context6(struct in6_addr *local, int prefix,
|
||||
if we have no matching dhcp-context, because we're only
|
||||
allocating on remote subnets via relays. This
|
||||
is used as a default for the DNS server option. */
|
||||
memcpy(¶m->fallback, &local, IN6ADDRSZ);
|
||||
param->fallback = *local;
|
||||
|
||||
for (context = daemon->dhcp6; context; context = context->next)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user