vpnengine/ikev1lib/src/ikev1negotiation.cpp
changeset 2 ef893827b4d1
parent 0 33413c0669b9
child 12 68dc8923de26
child 17 8962128a2656
--- a/vpnengine/ikev1lib/src/ikev1negotiation.cpp	Thu Jan 07 13:26:15 2010 +0200
+++ b/vpnengine/ikev1lib/src/ikev1negotiation.cpp	Mon Jan 18 21:14:04 2010 +0200
@@ -1039,10 +1039,10 @@
 			                KKmdIkeAuthFailedErr,
 			                iPluginSession->VpnIapId(),
 			                &iRemoteAddr );
-			 SendDeleteL(PROTO_ISAKMP);
-             SetFinished(); 
-          }   
-       }       
+			 SendDeleteL( PROTO_ISAKMP );
+			 SetErrorStatus( KKmdIkeAuthFailedErr );
+          }
+       }    
     }
 	else ret = EFalse;