X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27af32803aa2574fa41d4a233552cb603909915d..ebb7606e7d7fb9c4fad75065a97825b1df278d04:/src/unix/dialup.cpp diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp index 3fb0ef3115..8d6a76058e 100644 --- a/src/unix/dialup.cpp +++ b/src/unix/dialup.cpp @@ -719,10 +719,10 @@ wxDialUpManagerImpl::CheckIfconfig() hasModem = strstr(output,"ipdptp") != (char *)NULL; hasLAN = strstr(output, "hme") != (char *)NULL; #elif defined(__LINUX__) || defined (__FREEBSD__) - hasModem = strstr(output,"ppp") // ppp - || strstr(output,"sl") // slip - || strstr(output,"pl"); // plip - hasLAN = strstr(output, "eth") != NULL; + hasModem = strstr(output.fn_str(),"ppp") // ppp + || strstr(output.fn_str(),"sl") // slip + || strstr(output.fn_str(),"pl"); // plip + hasLAN = strstr(output.fn_str(), "eth") != NULL; #elif defined(__SGI__) // IRIX hasModem = strstr(output, "ppp") != NULL; // PPP #elif defined(__HPUX__)