aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/android/jni/libandroidbridge/vpnservice_builder.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-07-17 15:22:29 +0200
committerTobias Brunner <tobias@strongswan.org>2014-07-22 11:10:36 +0200
commit5fd9e5fd009995ce0b6fed738efc00d90a0d1f89 (patch)
tree8eb8d31a25d0e627cdb2b505b20ca8f3c869fa77 /src/frontends/android/jni/libandroidbridge/vpnservice_builder.c
parent945832c67d139a2a7a3006c0b97894b78ee9caf9 (diff)
downloadstrongswan-5fd9e5fd009995ce0b6fed738efc00d90a0d1f89.tar.bz2
strongswan-5fd9e5fd009995ce0b6fed738efc00d90a0d1f89.tar.xz
android: Terminate IKE_SA if initial IKE_SA_INIT fails
Since VpnStateService.disconnect() is now not called until the error dialog is dismissed the daemon would continue to try connecting. So while the error dialog is shown the connection might actually be successfully established in the background, which is not intended. This way the IKE_SA is destroyed right after sending the IKE_SA_INIT of the second connection attempt (due to keyingtries=0).
Diffstat (limited to 'src/frontends/android/jni/libandroidbridge/vpnservice_builder.c')
0 files changed, 0 insertions, 0 deletions