commit | 270dc2e199acbdde05229d596161bbd78d499509 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sun Feb 19 20:53:20 2012 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sun Feb 19 20:53:20 2012 +0000 |
tree | 325eb4b63c3f9797a0121f74cc0dbbddc0ea38f2 | |
parent | 948a0b6e81235ebbdc82fff5d103286a5cb806f3 [diff] [blame] |
Fix wrong fallback address in DHCPv6
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 @@ 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) {