summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdecore/tdehw/tdehardwaredevices.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp
index d45c79b2d..3cdca9b6e 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2920,7 +2920,8 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist
}
}
// Gather connection information such as IP addresses
- if (ndevice->state().upper() == "UP") {
+ if ((ndevice->state().upper() == "UP")
+ || (ndevice->state().upper() == "UNKNOWN")) {
struct ifaddrs *ifaddr, *ifa;
int family, s;
char host[NI_MAXHOST];