summaryrefslogtreecommitdiffstats
path: root/src/networkinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/networkinterface.cpp')
-rw-r--r--src/networkinterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/networkinterface.cpp b/src/networkinterface.cpp
index a582590..97677d8 100644
--- a/src/networkinterface.cpp
+++ b/src/networkinterface.cpp
@@ -43,7 +43,7 @@ NetworkInterface::NetworkInterface( KVpncConfig* GlobalConfig,TQApplication *app
interfaceTest = false;
retrieveInterfaceAddress = false;
TQPtrList<TQString>*InterfaceList = new TQPtrList<TQString>();
- InterfaceList->setAutoDelete( TRUE ); // the list owns the objects
+ InterfaceList->setAutoDelete( true ); // the list owns the objects
TQString InterfaceIP = "";
TQString InterfaceAddress = "";
IPforInterface = "";
@@ -477,7 +477,7 @@ void NetworkInterface::readFromStdout()
if ( interfaceTest )
{
- if ( line.find( "proto", 0 , FALSE ) != -1 )
+ if ( line.find( "proto", 0 , false ) != -1 )
{
interfaceExists = true;
interfaceTest = false;
@@ -536,7 +536,7 @@ void NetworkInterface::readFromStdout_interfaceip()
TQString line = InterfaceIpProc->readLineStdout() ;
// TQString line = TQString(InterfaceIpProc->readStdout());
- if (line.find( "inet ", 0 , FALSE ) != -1 )
+ if (line.find( "inet ", 0 , false ) != -1 )
{
InterfaceIP = line.simplifyWhiteSpace().section(' ', 1,1).section('/',0,0); // inet 192.168.10.100/24 brd 192.168.10.255 scope global