aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-01-10 17:09:47 +0100
committerMartin Willi <martin@revosec.ch>2012-03-20 17:31:35 +0100
commitbb2d4e188270800e3b3574acad1f7e6b6fd51e48 (patch)
tree919949604ab2497c1569a95f1a308c4ddbe8527f /src
parent5f2f864efc8f1ab0462c0f0edfd5af1ee5311728 (diff)
downloadstrongswan-bb2d4e188270800e3b3574acad1f7e6b6fd51e48.tar.bz2
strongswan-bb2d4e188270800e3b3574acad1f7e6b6fd51e48.tar.xz
Print IKEv1 notify types in message summary
Diffstat (limited to 'src')
-rw-r--r--src/libcharon/encoding/message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/encoding/message.c b/src/libcharon/encoding/message.c
index 4ca119dd5..dd7f8ecc7 100644
--- a/src/libcharon/encoding/message.c
+++ b/src/libcharon/encoding/message.c
@@ -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;