aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest/hooks/unencrypted_notify.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-11-17 18:01:41 +0100
committerMartin Willi <martin@revosec.ch>2012-03-20 17:30:43 +0100
commit04ee2b7fed91b4430ba4870a2f1b98ee3e228f50 (patch)
tree6b2f395dc73a9289d4dd246cdd18adeceaac07e0 /src/conftest/hooks/unencrypted_notify.c
parent043ed1b346fcc2130be8ff8a5a3bd503dfb1ac22 (diff)
downloadstrongswan-04ee2b7fed91b4430ba4870a2f1b98ee3e228f50.tar.bz2
strongswan-04ee2b7fed91b4430ba4870a2f1b98ee3e228f50.tar.xz
Added IKEv1 support to notify payload
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 507f30cae..958e33e98 100644
--- a/src/conftest/hooks/unencrypted_notify.c
+++ b/src/conftest/hooks/unencrypted_notify.c
@@ -84,7 +84,7 @@ METHOD(listener_t, ike_updown, bool,
{
data = chunk_clone(chunk_create(this->data, strlen(this->data)));
}
- notify = notify_payload_create_from_protocol_and_type(
+ notify = notify_payload_create_from_protocol_and_type(NOTIFY,
this->esp ? PROTO_ESP : PROTO_IKE, type);
notify->set_spi(notify, this->spi);
if (data.len)