aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-07-14 15:08:24 +0200
committerTobias Brunner <tobias@strongswan.org>2014-07-22 10:55:51 +0200
commitfb5d541503e44f2ca727661040d2fce9392ee96f (patch)
tree1f02a49e7196887ac1dbcd22e82eefa2971c26b7 /src
parent1435bd2e1bb6a1f49cb51dd4650a200e50544b13 (diff)
downloadstrongswan-fb5d541503e44f2ca727661040d2fce9392ee96f.tar.bz2
strongswan-fb5d541503e44f2ca727661040d2fce9392ee96f.tar.xz
android: Set CHILD_STATE_DOWN whenever the CHILD_SA goes down
No matter what triggers it. We also don't close the TUN device, but we might handle that differently in the future to allow reestablishing the IKE_SA if host names have to be re-resolved via DNS.
Diffstat (limited to 'src')
-rw-r--r--src/frontends/android/jni/libandroidbridge/backend/android_service.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/frontends/android/jni/libandroidbridge/backend/android_service.c b/src/frontends/android/jni/libandroidbridge/backend/android_service.c
index db9bebcc5..c893f62fe 100644
--- a/src/frontends/android/jni/libandroidbridge/backend/android_service.c
+++ b/src/frontends/android/jni/libandroidbridge/backend/android_service.c
@@ -381,14 +381,8 @@ METHOD(listener_t, child_updown, bool,
}
else
{
- if (ike_sa->has_condition(ike_sa, COND_REAUTHENTICATING))
- { /* we ignore this during reauthentication */
- return TRUE;
- }
- close_tun_device(this);
charonservice->update_status(charonservice,
CHARONSERVICE_CHILD_STATE_DOWN);
- return FALSE;
}
}
return TRUE;