refactored and cleaned up child_sa interface
replaced add/update calls by a install() call allocating SPIs always externally support installation of non-allocated CHILD_SAs some other cleanups
This commit is contained in:
1 parent
9dd1229407
commit
3aaf7908d1
6 files changed
+396
-450
No files matched your search
@@ -110,7 +110,7 @@ static void execute(private_migrate_job_t *this)
|
||||
host->set_port(host, IKEV2_UDP_PORT);
|
||||
ike_sa->set_other_host(ike_sa, host);
|
||||
|
||||
if (child_sa->update_hosts(child_sa, this->local, this->remote,
|
||||
if (child_sa->update(child_sa, this->local, this->remote,
|
||||
ike_sa->get_virtual_ip(ike_sa, TRUE),
|
||||
ike_sa->has_condition(ike_sa, COND_NAT_ANY)) == NOT_SUPPORTED)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user