]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/dialup.cpp
Italian translation corrections from Roberto Boriotti.
[wxWidgets.git] / src / unix / dialup.cpp
index 60f48784b4a065853bb2e5775e5cfecee4af0f2f..2482dfb28a46d19da698fa6cc8ec273293353d3e 100644 (file)
@@ -608,7 +608,10 @@ wxDialUpManagerImpl::CheckProcNet()
 
             while (fgets(output, 256, f) != NULL)
             {
-                if ( strstr(output, "eth") ) // network card
+                // Test for the known network interface names
+                if ( strstr(output, "eth")
+                        || strstr(output, "wlan")
+                        || strstr(output, "ath") )
                 {
                     netDevice |= NetDevice_LAN;
                 }