kernel-interface: Raise expires with a proto/SPI/dst tuple instead of reqid
This commit is contained in:
@@ -96,9 +96,9 @@ static void schedule_delayed_rekey(private_child_rekey_t *this)
|
||||
|
||||
retry = RETRY_INTERVAL - (random() % RETRY_JITTER);
|
||||
job = (job_t*)rekey_child_sa_job_create(
|
||||
this->child_sa->get_reqid(this->child_sa),
|
||||
this->child_sa->get_protocol(this->child_sa),
|
||||
this->child_sa->get_spi(this->child_sa, TRUE));
|
||||
this->child_sa->get_spi(this->child_sa, TRUE),
|
||||
this->ike_sa->get_my_host(this->ike_sa));
|
||||
DBG1(DBG_IKE, "CHILD_SA rekeying failed, trying again in %d seconds", retry);
|
||||
this->child_sa->set_state(this->child_sa, CHILD_INSTALLED);
|
||||
lib->scheduler->schedule_job(lib->scheduler, job, retry);
|
||||
|
||||
Reference in New Issue
Block a user