diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/kernel/qnetworkinterface_win.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/kernel/qnetworkinterface_win.cpp b/src/network/kernel/qnetworkinterface_win.cpp index 8e3b5ce7c0..d1d26598ac 100644 --- a/src/network/kernel/qnetworkinterface_win.cpp +++ b/src/network/kernel/qnetworkinterface_win.cpp @@ -146,8 +146,7 @@ static QList<QNetworkInterfacePrivate *> interfaceListingWinXP() ULONG bufSize = sizeof staticBuf; const QHash<QHostAddress, QHostAddress> &ipv4netmasks = ipv4Netmasks(); - ULONG flags = GAA_FLAG_INCLUDE_ALL_INTERFACES | - GAA_FLAG_INCLUDE_PREFIX | + ULONG flags = GAA_FLAG_INCLUDE_PREFIX | GAA_FLAG_SKIP_DNS_SERVER | GAA_FLAG_SKIP_MULTICAST; ULONG retval = ptrGetAdaptersAddresses(AF_UNSPEC, flags, NULL, pAdapter, &bufSize); |