Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.5.1, 5.6.0, 5.6
-
0a98f790bf59bc66722a645d89c560771da7efb2
Description
QNetworkInterface::allAddresses() description is not accurate.
It says that calling this function is equivalent to calling addressEntries() on all the objects returned by allInterfaces() to obtain lists of QHostAddress objects then calling QHostAddress::ip() on each of these.
But addressEntries() actually returns a list of QNetworkAddressEntry and to obtain lists of QHostAddress you need to call QNetworkAddressEntry::ip().
Attachments
For Gerrit Dashboard: QTBUG-51922 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
202267,5 | QNetworkInterface: don't include addresses from inactive interfaces | 5.10 | qt/qtbase | Status: MERGED | +2 | 0 |