Skip IPv6 address if DAD failed
Fixes: QTBUG-84256 Fixes: QTBUG-84253 Task-number: QTBUG-84254 Pick-to: 5.15 Change-Id: I6116c8a337cc85adbca1bbab2609d6627127fa46 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
153dcfbbba
commit
8be31ab2e1
@ -419,6 +419,9 @@ static void getAddresses(int sock, char *buf, QList<QNetworkInterfacePrivate *>
|
||||
}
|
||||
}
|
||||
|
||||
if (ifa->ifa_family == AF_INET6 && (ifa->ifa_flags & IFA_F_DADFAILED))
|
||||
return;
|
||||
|
||||
// now handle flags
|
||||
QNetworkInterfacePrivate::calculateDnsEligibility(&entry,
|
||||
flags & IFA_F_TEMPORARY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user