diff options
author | Jun-ichiro itojun Hagino <itojun@itojun.org> | 2000-12-12 09:57:05 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@itojun.org> | 2000-12-12 09:57:05 +0000 |
commit | 10022aee67c0992d1e9bcf8df80036e3fe958eef (patch) | |
tree | 96714399c9ef778e52c83ecafb3904f448d9093f /packet-isakmp.c | |
parent | 0aa86c26f2dbc54a99774c3eb6418442469a3898 (diff) |
print message ID in isakmp header
svn path=/trunk/; revision=2750
Diffstat (limited to 'packet-isakmp.c')
-rw-r--r-- | packet-isakmp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-isakmp.c b/packet-isakmp.c index 6d34ae9462..f247b294d9 100644 --- a/packet-isakmp.c +++ b/packet-isakmp.c @@ -3,7 +3,7 @@ * (ISAKMP) (RFC 2408) * Brad Robel-Forrest <brad.robel-forrest@watchguard.com> * - * $Id: packet-isakmp.c,v 1.31 2000/12/12 08:25:37 itojun Exp $ + * $Id: packet-isakmp.c,v 1.32 2000/12/12 09:57:05 itojun Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -415,7 +415,9 @@ dissect_isakmp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { offset += sizeof(hdr->flags); } - proto_tree_add_text(isakmp_tree, NullTVB, offset, sizeof(hdr->message_id), "Message ID"); + proto_tree_add_text(isakmp_tree, NullTVB, offset, sizeof(hdr->message_id), + "Message ID: 0x%02x%02x%02x%02x", hdr->message_id[0], + hdr->message_id[1], hdr->message_id[2], hdr->message_id[3]); offset += sizeof(hdr->message_id); proto_tree_add_text(isakmp_tree, NullTVB, offset, sizeof(hdr->length), |