aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest/hooks/unencrypted_notify.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-11-16 12:06:55 +0100
committerTobias Brunner <tobias@strongswan.org>2012-03-20 17:30:40 +0100
commit4ed52db2bbe4d884e5e0ed507b0d9c19f7b4343e (patch)
tree2d86367dfdabf70c2d0a42c9615c097f009b133e /src/conftest/hooks/unencrypted_notify.c
parent8a2d079d785e069891dcae41e7b1aae51f50c9ae (diff)
downloadstrongswan-4ed52db2bbe4d884e5e0ed507b0d9c19f7b4343e.tar.bz2
strongswan-4ed52db2bbe4d884e5e0ed507b0d9c19f7b4343e.tar.xz
Allow creation of message_t objects for IKEv1 packets.
Diffstat (limited to 'src/conftest/hooks/unencrypted_notify.c')
-rw-r--r--src/conftest/hooks/unencrypted_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/unencrypted_notify.c b/src/conftest/hooks/unencrypted_notify.c
index 80bdc64b7..507f30cae 100644
--- a/src/conftest/hooks/unencrypted_notify.c
+++ b/src/conftest/hooks/unencrypted_notify.c
@@ -95,7 +95,7 @@ METHOD(listener_t, ike_updown, bool,
DBG1(DBG_CFG, "injecting unencrypted INFORMATIONAL message");
- message = message_create();
+ message = message_create(IKEV2_MAJOR_VERSION, IKEV2_MINOR_VERSION);
message->set_message_id(message, this->id);
message->set_ike_sa_id(message, ike_sa->get_id(ike_sa));
message->set_exchange_type(message, INFORMATIONAL);