ike: Do not send initial contact only for UNIQUE_NEVER

Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
Thomas Egerer
2017-11-02 10:17:24 +01:00
committed by Tobias Brunner
parent 6ce7ae24a4
commit 2dad293647
3 changed files with 2 additions and 4 deletions
-1
View File
@@ -471,7 +471,6 @@ METHOD(task_t, build_i, status_t,
if (idr && !idr->contains_wildcards(idr) &&
message->get_message_id(message) == 1 &&
this->peer_cfg->get_unique_policy(this->peer_cfg) != UNIQUE_NO &&
this->peer_cfg->get_unique_policy(this->peer_cfg) != UNIQUE_NEVER)
{
host_t *host;