child-sa: Replace reqid based marks by "unique" marks
[strongswan.git] / src / libcharon / plugins / ha / ha_dispatcher.c
index e20e872..6e02733 100644 (file)
@@ -718,7 +718,8 @@ static void process_child_add(private_ha_dispatcher_t *this,
 
        child_sa = child_sa_create(ike_sa->get_my_host(ike_sa),
                                                           ike_sa->get_other_host(ike_sa), config, 0,
-                                                          ike_sa->has_condition(ike_sa, COND_NAT_ANY));
+                                                          ike_sa->has_condition(ike_sa, COND_NAT_ANY),
+                                                          0, 0);
        child_sa->set_mode(child_sa, mode);
        child_sa->set_protocol(child_sa, PROTO_ESP);
        child_sa->set_ipcomp(child_sa, ipcomp);