payload: Use common prefixes for all payload type identifiers
[strongswan.git] / src / conftest / hooks / add_notify.c
index 504b02a..73a9b1a 100644 (file)
@@ -88,7 +88,7 @@ METHOD(listener_t, message, bool,
                {
                        data = chunk_clone(chunk_create(this->data, strlen(this->data)));
                }
-               notify = notify_payload_create_from_protocol_and_type(NOTIFY,
+               notify = notify_payload_create_from_protocol_and_type(PLV2_NOTIFY,
                                                                        this->esp ? PROTO_ESP : PROTO_IKE, type);
                notify->set_spi(notify, this->spi);
                if (data.len)