fixing a problem if the mediation server initiates the rekeying

This commit is contained in:
Tobias Brunner
2008-04-10 07:24:30 +00:00
parent 22452f70fc
commit 4a03518112
3 changed files with 18 additions and 2 deletions
+1 -2
View File
@@ -793,8 +793,7 @@ ike_me_t *ike_me_create(ike_sa_t *ike_sa, bool initiator)
this->public.task.migrate = (void(*)(task_t*,ike_sa_t*))migrate;
this->public.task.destroy = (void(*)(task_t*))destroy;
ike_sa_id_t *id = ike_sa->get_id(ike_sa);
if (id->is_initiator(id))
if (ike_sa->is_ike_initiator(ike_sa))
{
if (initiator)
{