Commit 270dc2e1 authored by Simon Kelley's avatar Simon Kelley

Fix wrong fallback address in DHCPv6

parent 948a0b6e
...@@ -244,7 +244,7 @@ static int complete_context6(struct in6_addr *local, int prefix, ...@@ -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 if we have no matching dhcp-context, because we're only
allocating on remote subnets via relays. This allocating on remote subnets via relays. This
is used as a default for the DNS server option. */ is used as a default for the DNS server option. */
memcpy(&param->fallback, &local, IN6ADDRSZ); param->fallback = *local;
for (context = daemon->dhcp6; context; context = context->next) for (context = daemon->dhcp6; context; context = context->next)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment