diff options
author | Martin Willi <martin@revosec.ch> | 2011-01-10 11:54:10 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-01-10 11:54:10 +0100 |
commit | 719c33b41a1f9fe9b2585df3e7aa804a760c361c (patch) | |
tree | 7c03a5b8afc0d6451ad1b24351d5c496772df2d0 /src | |
parent | 5fee822a93ce175ad6ef9d61b7adb0cfd7878356 (diff) | |
download | strongswan-719c33b41a1f9fe9b2585df3e7aa804a760c361c.tar.bz2 strongswan-719c33b41a1f9fe9b2585df3e7aa804a760c361c.tar.xz |
Send INITIAL_CONTACT even if we have a unique policy
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/sa/tasks/ike_auth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcharon/sa/tasks/ike_auth.c b/src/libcharon/sa/tasks/ike_auth.c index 178989a0a..e48916eb2 100644 --- a/src/libcharon/sa/tasks/ike_auth.c +++ b/src/libcharon/sa/tasks/ike_auth.c @@ -429,8 +429,7 @@ static status_t build_i(private_ike_auth_t *this, message_t *message) get_reserved_id_bytes(this, id_payload); message->add_payload(message, (payload_t*)id_payload); - if (idr && message->get_message_id(message) == 1 && - this->peer_cfg->get_unique_policy(this->peer_cfg) != UNIQUE_NO) + if (idr && message->get_message_id(message)) { host_t *host; |