diff options
| author | Roy Marples <roy@marples.name> | 2013-05-29 12:59:47 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2013-05-29 12:59:47 +0000 |
| commit | 28bae8ce393d0add16b9dd344595de6bb8b6e3b0 (patch) | |
| tree | b20db24b9a37cf4a9904d79c18e92c5a961fffe7 /ipv6.c | |
| parent | 7afd1fdfb0a1a3f87caa814e6506129affdf76c0 (diff) | |
| download | dhcpcd-28bae8ce393d0add16b9dd344595de6bb8b6e3b0.tar.xz | |
Fix DAD for delegated addresses.
Diffstat (limited to 'ipv6.c')
| -rw-r--r-- | ipv6.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -296,6 +296,14 @@ ipv6_handleifa(int cmd, struct if_head *ifs, const char *ifname, struct ll_addr *ap; struct ll_callback *cb; +#if 0 + char buf[INET6_ADDRSTRLEN]; + inet_ntop(AF_INET6, &addr->s6_addr, + buf, INET6_ADDRSTRLEN); + syslog(LOG_DEBUG, "%s: cmd %d addr %s flags %d", + ifname, cmd, buf, flags); +#endif + /* Safety - ignore tentative announcements */ if (cmd == RTM_NEWADDR && flags & IN6_IFF_TENTATIVE) return; @@ -448,6 +456,7 @@ ipv6_handleifa_addrs(int cmd, * dadcallback function checks it */ ap->dadcompleted = 1; } + break; } } |
