strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
261b257
)
Allow responder to use ike_mobike_t.roam.
author
Tobias Brunner
<tobias@strongswan.org>
Tue, 5 Oct 2010 15:59:48 +0000
(17:59 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Tue, 12 Oct 2010 09:11:05 +0000
(11:11 +0200)
After getting a response the responder updates the IPsec SAs.
src/libcharon/sa/tasks/ike_mobike.c
patch
|
blob
|
history
diff --git
a/src/libcharon/sa/tasks/ike_mobike.c
b/src/libcharon/sa/tasks/ike_mobike.c
index
3d7827c
..
1773f6b
100644
(file)
--- 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)