--- a/sipplugins/sippsystemstatemonitor/src/sipvpnmonitorao.cpp Fri Jun 11 14:01:23 2010 +0300
+++ b/sipplugins/sippsystemstatemonitor/src/sipvpnmonitorao.cpp Wed Jun 23 18:36:31 2010 +0300
@@ -191,9 +191,11 @@
// SIP deregistration has been completed. Stop the guard timer and tell
// the VPN client about it.
iGuardTimer->Cancel();
-
- iProperty.Set( KPSVpnSipUid, KVpnSipState, ESipDeregisterCompleted );
- iCount = 0;
+ if (iState == CSipSystemStateMonitor::EVpnInitiating)
+ {
+ iProperty.Set( KPSVpnSipUid, KVpnSipState, ESipDeregisterCompleted );
+ iCount = 0;
+ }
}
// -----------------------------------------------------------------------------