Print IKEv1 notify types in message summary
authorMartin Willi <martin@revosec.ch>
Tue, 10 Jan 2012 16:09:47 +0000 (17:09 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:35 +0000 (17:31 +0100)
src/libcharon/encoding/message.c

index 4ca119d..dd7f8ec 100644 (file)
@@ -1192,7 +1192,8 @@ static char* get_string(private_message_t *this, char *buf, int len)
                }
                pos += written;
                len -= written;
-               if (payload->get_type(payload) == NOTIFY)
+               if (payload->get_type(payload) == NOTIFY ||
+                       payload->get_type(payload) == NOTIFY_V1)
                {
                        notify_payload_t *notify;
                        notify_type_t type;