mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-28 04:25:19 +08:00
Fix IPv6 DAD test
This commit is contained in:
parent
d128d95214
commit
91c74bf8b4
2
ipv6.c
2
ipv6.c
@ -325,7 +325,7 @@ ipv6_handleifa(int cmd, struct if_head *ifs, const char *ifname,
|
||||
|
||||
/* Safety - ignore tentative announcements */
|
||||
if (cmd == RTM_NEWADDR) {
|
||||
if (flags & (IN6_IFF_TENTATIVE || IN6_IFF_DUPLICATED))
|
||||
if (flags & (IN6_IFF_TENTATIVE | IN6_IFF_DUPLICATED))
|
||||
cmd = RTM_DELADDR;
|
||||
#ifdef IN6_IFF_DETACHED
|
||||
if (flags & IN6_IFF_DETACHED)
|
||||
|
Loading…
Reference in New Issue
Block a user