ike-init: Send REDIRECT_SUPPORTED as initiator
This commit is contained in:
parent
099c0b12b6
commit
10009b2954
|
@ -324,6 +324,11 @@ static bool build_payloads(private_ike_init_t *this, message_t *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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue