]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 4ca119dd5bb343f69d40e64ee599a7d2d6337135..dd7f8ecc7273fff1626b0a6f8e0174f3f506f4af 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;