diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-09-14 08:06:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-09-14 08:06:47 +0000 |
commit | f4ac555e907bffcc8ae769cc9d12feaedd8a0e5d (patch) | |
tree | da6f452ae564687be9161bd30645fbfe563f3edb /packet-udp.c | |
parent | abd34aca5add42356938e2db322ffe31dc0ba205 (diff) | |
download | wireshark-f4ac555e907bffcc8ae769cc9d12feaedd8a0e5d.tar.gz wireshark-f4ac555e907bffcc8ae769cc9d12feaedd8a0e5d.tar.bz2 wireshark-f4ac555e907bffcc8ae769cc9d12feaedd8a0e5d.zip |
Peter Torvals' Internet Cache Protocol dissector.
svn path=/trunk/; revision=677
Diffstat (limited to 'packet-udp.c')
-rw-r--r-- | packet-udp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-udp.c b/packet-udp.c index 46b5da9fe6..4370715f76 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.23 1999/08/18 00:57:54 guy Exp $ + * $Id: packet-udp.c,v 1.24 1999/09/14 08:06:23 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -76,7 +76,7 @@ typedef struct _e_udphdr { #define UDP_PORT_RADIUS_NEW 1812 #define UDP_PORT_RADACCT 1646 #define UDP_PORT_RADACCT_NEW 1813 - +#define UDP_PORT_ICP 3130 struct hash_struct { guint16 proto; @@ -249,6 +249,8 @@ dissect_udp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { PORT_IS(UDP_PORT_RADIUS_NEW) || PORT_IS(UDP_PORT_RADACCT_NEW) ) { dissect_radius(pd, offset, fd, tree); + } else if ( PORT_IS(UDP_PORT_ICP)) { + dissect_icp(pd,offset,fd,tree); } else { /* OK, find a routine in the table, else use the default */ |