ike-init: Send REDIRECT_SUPPORTED as initiator
This commit is contained in:
@@ -324,6 +324,11 @@ static bool build_payloads(private_ike_init_t *this, message_t *message)
|
|||||||
send_supported_hash_algorithms(this, message);
|
send_supported_hash_algorithms(this, message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* notify other peer if we support redirection */
|
||||||
|
if (!this->old_sa && this->initiator)
|
||||||
|
{
|
||||||
|
message->add_notify(message, FALSE, REDIRECT_SUPPORTED, chunk_empty);
|
||||||
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user