ike: Do not send initial contact only for UNIQUE_NEVER
Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
committed by
Tobias Brunner
parent
6ce7ae24a4
commit
2dad293647
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user