diff options
author | Martin Willi <martin@revosec.ch> | 2011-11-17 18:01:41 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:30:43 +0100 |
commit | 04ee2b7fed91b4430ba4870a2f1b98ee3e228f50 (patch) | |
tree | 6b2f395dc73a9289d4dd246cdd18adeceaac07e0 /src/conftest/hooks/unencrypted_notify.c | |
parent | 043ed1b346fcc2130be8ff8a5a3bd503dfb1ac22 (diff) | |
download | strongswan-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.c | 2 |
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) |