summaryrefslogtreecommitdiff
path: root/packet-icq.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-icq.c')
-rw-r--r--packet-icq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-icq.c b/packet-icq.c
index 0241af4b75..2722ae4c5c 100644
--- a/packet-icq.c
+++ b/packet-icq.c
@@ -1,7 +1,7 @@
/* packet-icq.c
* Routines for ICQ packet disassembly
*
- * $Id: packet-icq.c,v 1.20 2000/08/11 13:35:24 deniel Exp $
+ * $Id: packet-icq.c,v 1.21 2000/08/13 14:08:15 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Johan Feyaerts
@@ -2427,6 +2427,8 @@ static void dissect_icq(const u_char *pd,
{
int version = 0;
+ OLD_CHECK_DISPLAY_AS_DATA(proto_icq, pd, offset, fd, tree);
+
version = pletohs(&pd[offset + ICQ_VERSION]);
switch (version) {
case 0x0005: