From a8dada642913ab30ffb781ff8aa51c935f72acdf Mon Sep 17 00:00:00 2001 From: Olivier Abad Date: Sat, 10 Jun 2000 18:08:17 +0000 Subject: DDTP has been assigned port 1052 for both client and server by the IANA. I updated the dissector_add() calls to reflect this change. svn path=/trunk/; revision=2053 --- packet-ddtp.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'packet-ddtp.c') diff --git a/packet-ddtp.c b/packet-ddtp.c index 9d8ab47a47..46d50e4987 100644 --- a/packet-ddtp.c +++ b/packet-ddtp.c @@ -3,7 +3,7 @@ * see http://ddt.sourceforge.net/ * Olivier Abad * - * $Id: packet-ddtp.c,v 1.5 2000/05/31 05:07:00 guy Exp $ + * $Id: packet-ddtp.c,v 1.6 2000/06/10 18:08:17 oabad Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -57,8 +57,7 @@ static int hf_ddtp_status = -1; static int ett_ddtp = -1; -#define UDP_PORT_DDTP1 58800 -#define UDP_PORT_DDTP2 58801 +#define UDP_PORT_DDTP 1052 static const value_string vals_ddtp_version[] = { { DDTP_VERSION_ERROR, "Protocol Error" }, @@ -233,6 +232,5 @@ proto_register_ddtp(void) void proto_reg_handoff_ddtp(void) { - dissector_add("udp.port", UDP_PORT_DDTP1, dissect_ddtp); - dissector_add("udp.port", UDP_PORT_DDTP2, dissect_ddtp); + dissector_add("udp.port", UDP_PORT_DDTP, dissect_ddtp); } -- cgit v1.2.3