ike: Reset IKE_SA in state CONNECTING instead of reauthenticating
authorTobias Brunner <tobias@strongswan.org>
Tue, 12 Aug 2014 10:05:16 +0000 (12:05 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 9 Sep 2014 08:56:15 +0000 (10:56 +0200)
commit34e402ef8da46fdd38715611eb7ad1ea49ea1f40
treefee0e28fdd9c8722d41e2b879a14524047b5b8d8
parent4df9250f2644f4e5154a95ff8c14d28da3f4da24
ike: Reset IKE_SA in state CONNECTING instead of reauthenticating

Due to how reauthentication works for IKEv1 we could get a second
IKE_SA, which might cause problems, when connectivity problems arise
when the connection is initially established.

Fixes #670.
src/libcharon/sa/ike_sa.c