diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 14:28:03 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-22 14:28:03 +0900 |
| commit | b1606f1200c833b5a0896d6bfe08db8db8c6d81e (patch) | |
| tree | 7259b359fa3dc825890f7c7a653b7628f7cf0f02 /src/networkinterface.cpp | |
| parent | 6af1ac6d9f3382a8f9494eae0455b2a01c91a86c (diff) | |
| download | kvpnc-b1606f1200c833b5a0896d6bfe08db8db8c6d81e.tar.gz kvpnc-b1606f1200c833b5a0896d6bfe08db8db8c6d81e.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/networkinterface.cpp')
| -rw-r--r-- | src/networkinterface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/networkinterface.cpp b/src/networkinterface.cpp index 8196312..e4c5e41 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 |
