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:
2ba1f9e
)
do not roam IKE_SA in created or deleting state
author
Martin Willi
<martin@strongswan.org>
Wed, 4 Jun 2008 14:31:06 +0000
(14:31 -0000)
committer
Martin Willi
<martin@strongswan.org>
Wed, 4 Jun 2008 14:31:06 +0000
(14:31 -0000)
src/charon/sa/ike_sa.c
patch
|
blob
|
history
diff --git
a/src/charon/sa/ike_sa.c
b/src/charon/sa/ike_sa.c
index
a6b3927
..
e19b7be
100644
(file)
--- a/
src/charon/sa/ike_sa.c
+++ b/
src/charon/sa/ike_sa.c
@@
-2094,6
+2094,14
@@
static status_t roam(private_ike_sa_t *this, bool address)
host_t *me, *other;
ike_mobike_t *mobike;
host_t *me, *other;
ike_mobike_t *mobike;
+ switch (this->state)
+ {
+ case IKE_CREATED:
+ case IKE_DELETING:
+ return SUCCESS;
+ default:
+ break;
+ }
/* responder just updates the peer about changed address config */
if (!this->ike_sa_id->is_initiator(this->ike_sa_id))
{
/* responder just updates the peer about changed address config */
if (!this->ike_sa_id->is_initiator(this->ike_sa_id))
{