aboutsummaryrefslogtreecommitdiffstats
path: root/packet-udp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-04-14 06:42:52 +0000
committerGuy Harris <guy@alum.mit.edu>2000-04-14 06:42:52 +0000
commitc7c8e8e458aa2bf74dee40fa8d329514a0d883d8 (patch)
treebb3ca2e3580c9be6f7005bedc2b24a0951f9606b /packet-udp.c
parentd419701eeac64d5e4b5db89ac89c28afa2f72425 (diff)
Register all the AFS ports in "proto_reg_handoff_rx()", rather than
checking for them in the UDP dissector. svn path=/trunk/; revision=1856
Diffstat (limited to 'packet-udp.c')
-rw-r--r--packet-udp.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/packet-udp.c b/packet-udp.c
index 11bf09ceca..17e2fe937f 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.63 2000/04/14 06:17:22 guy Exp $
+ * $Id: packet-udp.c,v 1.64 2000/04/14 06:42:50 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -76,9 +76,6 @@ typedef struct _e_udphdr {
#define UDP_PORT_TFTP 69
#define UDP_PORT_NCP 524
#define UDP_PORT_VINES 573
-#define UDP_PORT_RX_LOW 7000
-#define UDP_PORT_RX_HIGH 7009
-#define UDP_PORT_RX_AFS_BACKUPS 7021
static dissector_table_t udp_dissector_table;
@@ -132,10 +129,6 @@ decode_udp_ports( const u_char *pd, int offset, frame_data *fd,
#define PORT_IS(port) (uh_sport == port || uh_dport == port)
if (PORT_IS(UDP_PORT_NCP))
dissect_ncp(pd, offset, fd, tree); /* XXX -- need to handle nw_server_address */
- else if ((uh_sport >= UDP_PORT_RX_LOW && uh_sport <= UDP_PORT_RX_HIGH) ||
- (uh_dport >= UDP_PORT_RX_LOW && uh_dport <= UDP_PORT_RX_HIGH) ||
- PORT_IS(UDP_PORT_RX_AFS_BACKUPS))
- dissect_rx(pd, offset, fd, tree); /* transarc AFS's RX protocol */
else if (PORT_IS(UDP_PORT_VINES)) {
/* FIXME: AFAIK, src and dst port must be the same */
dissect_vines_frp(pd, offset, fd, tree);