summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/network/network-chat/peermanager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/network/network-chat/peermanager.cpp b/examples/network/network-chat/peermanager.cpp
index a038571..8fdef8c 100644
--- a/examples/network/network-chat/peermanager.cpp
+++ b/examples/network/network-chat/peermanager.cpp
@@ -165,10 +165,6 @@ void PeerManager::updateAddresses()
foreach (QNetworkAddressEntry entry, interface.addressEntries()) {
QHostAddress broadcastAddress = entry.broadcast();
if (broadcastAddress != QHostAddress::Null && entry.ip() != QHostAddress::LocalHost) {
- //printf("entry.ip: %s\n", entry.ip().toString().toLatin1().data());
- //printf("entry.netmask: %s\n", entry.netmask().toString().toLatin1().data());
- //printf("entry.prefixLength: %i\n", entry.prefixLength());
- //printf("entry.broadcast %s \n", broadcastAddress.toString().toLatin1().data());
broadcastAddresses << broadcastAddress;
ipAddresses << entry.ip();
}