From c5770f864fc78d5f9b92bd885c37e3f952a31a97 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 5 Oct 2010 17:59:48 +0200 Subject: [PATCH] Allow responder to use ike_mobike_t.roam. After getting a response the responder updates the IPsec SAs. --- src/libcharon/sa/tasks/ike_mobike.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libcharon/sa/tasks/ike_mobike.c b/src/libcharon/sa/tasks/ike_mobike.c index 3d7827c37..1773f6b54 100644 --- a/src/libcharon/sa/tasks/ike_mobike.c +++ b/src/libcharon/sa/tasks/ike_mobike.c @@ -543,7 +543,13 @@ METHOD(task_t, process_i, status_t, } if (this->update) { - /* start the update with the same task */ + if (!this->ike_sa->has_condition(this->ike_sa, + COND_ORIGINAL_INITIATOR)) + { + update_children(this); + return SUCCESS; + } + /* original initiator starts the update with the same task */ this->check = FALSE; this->address = FALSE; if (this->natd)