aboutsummaryrefslogtreecommitdiffstats
path: root/packet-udp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-24 00:56:11 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-24 00:56:11 +0000
commitda1fdf005fd91fe48fca5857a64d1087dd67ff86 (patch)
tree335006a8ac657c4a8a5bf004a5928ad7a62fdc42 /packet-udp.c
parent8a391029daa17b2d090e5e06073be64b9493a974 (diff)
downloadwireshark-da1fdf005fd91fe48fca5857a64d1087dd67ff86.tar.gz
wireshark-da1fdf005fd91fe48fca5857a64d1087dd67ff86.tar.bz2
wireshark-da1fdf005fd91fe48fca5857a64d1087dd67ff86.zip
Kojak's ICQ dissector.
svn path=/trunk/; revision=919
Diffstat (limited to 'packet-udp.c')
-rw-r--r--packet-udp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/packet-udp.c b/packet-udp.c
index 051fceb8ef..d4a2a6e540 100644
--- a/packet-udp.c
+++ b/packet-udp.c
@@ -1,7 +1,7 @@
/* packet-udp.c
* Routines for UDP packet disassembly
*
- * $Id: packet-udp.c,v 1.31 1999/10/22 07:17:45 guy Exp $
+ * $Id: packet-udp.c,v 1.32 1999/10/24 00:55:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -79,6 +79,7 @@ typedef struct _e_udphdr {
#define UDP_PORT_RADACCT 1646
#define UDP_PORT_RADACCT_NEW 1813
#define UDP_PORT_ICP 3130
+#define UDP_PORT_ICQ 4000
#define UDP_PORT_RX_LOW 7000
#define UDP_PORT_RX_HIGH 7009
#define UDP_PORT_RX_AFS_BACKUPS 7021
@@ -264,7 +265,9 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
dissect_radius(pd, offset, fd, tree);
} else if ( PORT_IS(UDP_PORT_ICP)) {
dissect_icp(pd,offset,fd,tree);
- } else {
+ } else if ( PORT_IS(UDP_PORT_ICQ)) {
+ dissect_icq(pd,offset,fd,tree);
+ } else {
/* OK, find a routine in the table, else use the default */
if ((dissect_routine = udp_find_hash_ent(uh_sport))) {