aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-11-14 09:41:08 +0000
committerMartin Willi <martin@strongswan.org>2007-11-14 09:41:08 +0000
commit91b16af0fabd8e7b8ef7d732706885eef5a5815f (patch)
tree1fd9d514cd6b9334281670e5e20261f88b0179cf /src
parenta8cd9065761b170f7f5dd24c7f118402a9e85f21 (diff)
downloadstrongswan-91b16af0fabd8e7b8ef7d732706885eef5a5815f.tar.bz2
strongswan-91b16af0fabd8e7b8ef7d732706885eef5a5815f.tar.xz
fixed NO_PROPOSAL_CHOSEN response on IKE_SA_INIT
Diffstat (limited to 'src')
-rw-r--r--src/charon/sa/ike_sa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charon/sa/ike_sa.c b/src/charon/sa/ike_sa.c
index 72996cecf..4cd049880 100644
--- a/src/charon/sa/ike_sa.c
+++ b/src/charon/sa/ike_sa.c
@@ -859,6 +859,8 @@ static void send_notify_response(private_ike_sa_t *this, message_t *request,
this->other_host = request->get_source(request);
this->other_host = this->other_host->clone(this->other_host);
}
+ response->set_source(response, this->my_host->clone(this->my_host));
+ response->set_destination(response, this->other_host->clone(this->other_host));
if (generate_message(this, response, &packet) == SUCCESS)
{
charon->sender->send(charon->sender, packet);