diff options
| author | Roy Marples <roy@marples.name> | 2020-04-26 17:22:42 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-04-26 17:22:42 +0100 |
| commit | 62094f1bd162e2a4cbaf21409c73904c6524927c (patch) | |
| tree | e3fa39936e43669cbae76ca833532468f17ef29f /src/ipv6nd.c | |
| parent | 88fe3a9b8586a356377a39b778094734949b643b (diff) | |
| download | dhcpcd-62094f1bd162e2a4cbaf21409c73904c6524927c.tar.xz | |
DHCP6: Implement DECLINE support for duplicated addresses
This is the final piece of DHCP6 to implement!
Part of this change drops the use of the IPV6_AF_DUPLICATED flag
and we just use IN6_IFF_DUPLICATED now.
Diffstat (limited to 'src/ipv6nd.c')
| -rw-r--r-- | src/ipv6nd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c index f1f83d5f..faf31561 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -927,7 +927,7 @@ ipv6nd_dadcallback(void *arg) ifp = ia->iface; wascompleted = (ia->flags & IPV6_AF_DADCOMPLETED); ia->flags |= IPV6_AF_DADCOMPLETED; - if (ia->flags & IPV6_AF_DUPLICATED) { + if (ia->addr_flags & IN6_IFF_DUPLICATED) { ia->dadcounter++; logwarnx("%s: DAD detected %s", ifp->name, ia->saddr); |
