Added a new alert that is raised if peer does not respond to initial IKE message
This commit is contained in:
@@ -1690,6 +1690,8 @@ METHOD(ike_sa_t, retransmit, status_t,
|
||||
{
|
||||
/* retry IKE_SA_INIT/Main Mode if we have multiple keyingtries */
|
||||
u_int32_t tries = this->peer_cfg->get_keyingtries(this->peer_cfg);
|
||||
charon->bus->alert(charon->bus, ALERT_PEER_INIT_UNREACHABLE,
|
||||
this->keyingtry);
|
||||
this->keyingtry++;
|
||||
if (tries == 0 || tries > this->keyingtry)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user