ike-init: Send REDIRECT_SUPPORTED as initiator

This commit is contained in:
Tobias Brunner
2016-03-04 16:02:58 +01:00
parent 099c0b12b6
commit 10009b2954
+5
View File
@@ -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;
}