replace ca is realized as del_ca followed by add_ca
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 24 Feb 2007 23:20:27 +0000 (23:20 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 24 Feb 2007 23:20:27 +0000 (23:20 -0000)
src/starter/starter.c

index 339e698..0bf1d7a 100644 (file)
@@ -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);