From 270dc2e199acbdde05229d596161bbd78d499509 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Sun, 19 Feb 2012 20:53:20 +0000 Subject: [PATCH] Fix wrong fallback address in DHCPv6 --- src/dhcp6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcp6.c b/src/dhcp6.c index 6c27f4b..6c20a0f 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -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) {