summaryrefslogtreecommitdiffstats
path: root/examples/knx/discoverer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/knx/discoverer/main.cpp')
-rw-r--r--examples/knx/discoverer/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/knx/discoverer/main.cpp b/examples/knx/discoverer/main.cpp
index 3cf564b..0e539bc 100644
--- a/examples/knx/discoverer/main.cpp
+++ b/examples/knx/discoverer/main.cpp
@@ -204,6 +204,9 @@ int main(int argc, char *argv[])
qInfo().noquote() << endl << QString::fromLatin1("%1 server(s) found on the network.")
.arg(servers.size());
for (auto server : servers) {
+ qInfo().noquote() << QString::fromLatin1(" Network interface: %1, address: %2")
+ .arg(server.networkInterface().humanReadableName(),
+ server.networkInterface().addressEntries().value(1).ip().toString());
qInfo().noquote() << QString::fromLatin1(" Server: %1").arg(server.deviceName());
qInfo().noquote() << QString::fromLatin1(" Individual address: %1").arg(server
.individualAddress().toString());