aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-02-24 23:20:27 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-02-24 23:20:27 +0000
commit7eb4010c01f05f9c2af832225837c5f8d7331a02 (patch)
tree3293145fe9c78bf345709426d2c09fcf93a8ad97 /src/starter
parent98a905838a28e7b207bffee604c21c1fa9864573 (diff)
downloadstrongswan-7eb4010c01f05f9c2af832225837c5f8d7331a02.tar.bz2
strongswan-7eb4010c01f05f9c2af832225837c5f8d7331a02.tar.xz
replace ca is realized as del_ca followed by add_ca
Diffstat (limited to 'src/starter')
-rw-r--r--src/starter/starter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/starter/starter.c b/src/starter/starter.c
index 339e698d3..0bf1d7a71 100644
--- a/src/starter/starter.c
+++ b/src/starter/starter.c
@@ -449,6 +449,10 @@ int main (int argc, char **argv)
{
if (ca->state == STATE_ADDED)
{
+ if (starter_charon_pid())
+ {
+ starter_stroke_del_ca(ca);
+ }
if (starter_pluto_pid())
{
starter_whack_del_ca(ca);