summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdehardwaredevices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdehw/tdehardwaredevices.cpp')
-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 fde568acf..2ddb16abb 100644
--- a/tdecore/tdehw/tdehardwaredevices.cpp
+++ b/tdecore/tdehw/tdehardwaredevices.cpp
@@ -2857,7 +2857,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];