Fixed creation of endpoint notifies.
authorTobias Brunner <tobias@strongswan.org>
Tue, 22 Nov 2011 08:44:09 +0000 (09:44 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Mar 2012 16:30:48 +0000 (17:30 +0100)
src/libcharon/encoding/payloads/endpoint_notify.c

index 8dc1c19..25fb42a 100644 (file)
@@ -227,7 +227,7 @@ METHOD(endpoint_notify_t, build_notify, notify_payload_t*,
        chunk_t data;
        notify_payload_t *notify;
 
        chunk_t data;
        notify_payload_t *notify;
 
-       notify = notify_payload_create(NOTIFICATION);
+       notify = notify_payload_create(NOTIFY);
        notify->set_notify_type(notify, ME_ENDPOINT);
        data = build_notification_data(this);
        notify->set_notification_data(notify, data);
        notify->set_notify_type(notify, ME_ENDPOINT);
        data = build_notification_data(this);
        notify->set_notification_data(notify, data);