diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-17 20:37:33 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-09-17 20:37:33 +0200 |
commit | 79642e5d8788f071da96cd551aa7a5be7b73bbf1 (patch) | |
tree | d4a96636539879929e6e19606d1f6f7876ffc544 /src/kvpnc.cpp | |
parent | 1b5ad6a8b8d53052100495d199856fa01477d455 (diff) | |
download | kvpnc-79642e5d8788f071da96cd551aa7a5be7b73bbf1.tar.gz kvpnc-79642e5d8788f071da96cd551aa7a5be7b73bbf1.zip |
Fix FTBFS
Diffstat (limited to 'src/kvpnc.cpp')
-rw-r--r-- | src/kvpnc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvpnc.cpp b/src/kvpnc.cpp index b9d120e..991cb06 100644 --- a/src/kvpnc.cpp +++ b/src/kvpnc.cpp @@ -8685,7 +8685,7 @@ void KVpnc::disconnectClicked() delRouteRacoon(); removeIptablesRacoon(); - if ( GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::l2tpd_racoon && ( GlobalConfig->currentProfile->getL2tpDaemon() == "l2tpd" || GlobalConfig->currentProfile->getL2tpDaemon() == "l2tpd" ) ) + if ( GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::l2tpd_racoon && ( GlobalConfig->currentProfile->getL2tpDaemon() == VpnAccountData::l2tpd || GlobalConfig->currentProfile->getL2tpDaemon() == VpnAccountData::l2tpd ) ) { // remove kvpnc entries from secrets file TQFile papSecretsFile ( "/etc/ppp/pap-secrets" ); @@ -10493,7 +10493,7 @@ void KVpnc::disconnectClicked() delRouteRacoon(); removeIptablesRacoon(); - if ( GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::l2tpd_racoon && ( GlobalConfig->currentProfile->getL2tpDaemon() == "l2tpd" || GlobalConfig->currentProfile->getL2tpDaemon() == "l2tpd" ) ) + if ( GlobalConfig->currentProfile->getConnectionType() == VpnAccountData::l2tpd_racoon && ( GlobalConfig->currentProfile->getL2tpDaemon() == VpnAccountData::l2tpd || GlobalConfig->currentProfile->getL2tpDaemon() == VpnAccountData::l2tpd ) ) { if ( GlobalConfig->currentProfile->getAuthMethod() == "chap" || GlobalConfig->currentProfile->getAuthMethod() == "mschap" || GlobalConfig->currentProfile->getAuthMethod() == "mschap-v2" ) { |