summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentiteratekernel.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-12-02 12:37:06 -0800
committerThiago Macieira <thiago.macieira@intel.com>2016-01-21 05:19:10 +0000
commit8cd67bbfac5783cd77f1e0617dc4c938dfd44229 (patch)
tree5877a73d52b40585438da12975251fb580d61b9d /src/concurrent/qtconcurrentiteratekernel.cpp
parent043f5d3eb52587831f643bc52c95079c36d984c7 (diff)
QNetworkInterface: don't add a QNetworkAddressEntry if no IP is known
If SIOCGIFADDR fails, then don't bother trying to get the broadcast address or netmask, and especially don't add the empty QNetworkAddressEntry to the interface. This can happen on interfaces that have no IP address assigned (for example, inactive interfaces). Change-Id: I8de47ed6c7be4847b99bffff141c326d94ecca78 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/concurrent/qtconcurrentiteratekernel.cpp')
0 files changed, 0 insertions, 0 deletions