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:
9ffcbea
)
fixed sync of CHILD_SA delete
author
Martin Willi
<martin@strongswan.org>
Tue, 2 Dec 2008 15:33:01 +0000
(15:33 +0000)
committer
Martin Willi
<martin@revosec.ch>
Wed, 7 Apr 2010 11:55:12 +0000
(13:55 +0200)
src/charon/plugins/ha_sync/ha_sync_dispatcher.c
patch
|
blob
|
history
diff --git
a/src/charon/plugins/ha_sync/ha_sync_dispatcher.c
b/src/charon/plugins/ha_sync/ha_sync_dispatcher.c
index
be6a785
..
aacf239
100644
(file)
--- a/
src/charon/plugins/ha_sync/ha_sync_dispatcher.c
+++ b/
src/charon/plugins/ha_sync/ha_sync_dispatcher.c
@@
-554,17
+554,14
@@
static void process_child_delete(private_ha_sync_dispatcher_t *this,
value.ike_sa_id);
break;
case HA_SYNC_INBOUND_SPI:
value.ike_sa_id);
break;
case HA_SYNC_INBOUND_SPI:
- if (!ike_sa || ike_sa->destroy_child_sa(ike_sa, PROTO_ESP,
- value.u32) != SUCCESS)
+ if (ike_sa)
{
{
- DBG1(DBG_CHD, "HA sync CHILD_SA 0x%lx delete failed (%p)",
- value.u32, ike_sa);
+ ike_sa->destroy_child_sa(ike_sa, PROTO_ESP, value.u32);
}
break;
default:
break;
}
}
break;
default:
break;
}
- break;
}
if (ike_sa)
{
}
if (ike_sa)
{