IPv6 link-local addresses are negotiated via IPV6CP and therefore are
unique and not duplicate. Doing additional Duplicate Address Detection
is redundant and not needed, so disable it.
Signed-off-by: Pali Rohár <pali@kernel.org>
ifa = NLMSG_DATA(nlmsg);
ifa->ifa_family = AF_INET6;
ifa->ifa_prefixlen = 128;
- ifa->ifa_flags = IFA_F_PERMANENT;
+ ifa->ifa_flags = IFA_F_NODAD | IFA_F_PERMANENT;
ifa->ifa_scope = RT_SCOPE_LINK;
ifa->ifa_index = iface;