aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/tasks/ike_rekey.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-06 13:23:42 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:01:24 +0200
commit61e8e73206829e1d37c8e64585dd283ab4a29cef (patch)
tree57b62aa15220d6942e1dfb44828c0a120f65531c /src/libcharon/sa/tasks/ike_rekey.c
parent8c387909ebc90defe20a842abe507cdf3b7887fe (diff)
downloadstrongswan-61e8e73206829e1d37c8e64585dd283ab4a29cef.tar.bz2
strongswan-61e8e73206829e1d37c8e64585dd283ab4a29cef.tar.xz
Refer to scheduler via hydra and not charon.
Diffstat (limited to 'src/libcharon/sa/tasks/ike_rekey.c')
-rw-r--r--src/libcharon/sa/tasks/ike_rekey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/sa/tasks/ike_rekey.c b/src/libcharon/sa/tasks/ike_rekey.c
index a066adc32..1eabf9365 100644
--- a/src/libcharon/sa/tasks/ike_rekey.c
+++ b/src/libcharon/sa/tasks/ike_rekey.c
@@ -218,7 +218,7 @@ static status_t process_i(private_ike_rekey_t *this, message_t *message)
DBG1(DBG_IKE, "IKE_SA rekeying failed, "
"trying again in %d seconds", retry);
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
- charon->scheduler->schedule_job(charon->scheduler, job, retry);
+ hydra->scheduler->schedule_job(hydra->scheduler, job, retry);
}
return SUCCESS;
case NEED_MORE:
@@ -261,7 +261,7 @@ static status_t process_i(private_ike_rekey_t *this, message_t *message)
/* peer should delete this SA. Add a timeout just in case. */
job_t *job = (job_t*)delete_ike_sa_job_create(
other->new_sa->get_id(other->new_sa), TRUE);
- charon->scheduler->schedule_job(charon->scheduler, job, 10);
+ hydra->scheduler->schedule_job(hydra->scheduler, job, 10);
DBG1(DBG_IKE, "IKE_SA rekey collision won, deleting rekeyed IKE_SA");
charon->ike_sa_manager->checkin(charon->ike_sa_manager, other->new_sa);
other->new_sa = NULL;