|
|
|
@ -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" )
|
|
|
|
|
{
|
|
|
|
|