replace ca is realized as del_ca followed by add_ca
[strongswan.git] / 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);