aboutsummaryrefslogtreecommitdiffstats
path: root/packet-isakmp.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@itojun.org>2000-12-12 09:57:05 +0000
committerJun-ichiro itojun Hagino <itojun@itojun.org>2000-12-12 09:57:05 +0000
commit10022aee67c0992d1e9bcf8df80036e3fe958eef (patch)
tree96714399c9ef778e52c83ecafb3904f448d9093f /packet-isakmp.c
parent0aa86c26f2dbc54a99774c3eb6418442469a3898 (diff)
print message ID in isakmp header
svn path=/trunk/; revision=2750
Diffstat (limited to 'packet-isakmp.c')
-rw-r--r--packet-isakmp.c6
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),