diff options
author | Olivier Abad <oabad@noos.fr> | 2000-06-10 18:08:17 +0000 |
---|---|---|
committer | Olivier Abad <oabad@noos.fr> | 2000-06-10 18:08:17 +0000 |
commit | a8dada642913ab30ffb781ff8aa51c935f72acdf (patch) | |
tree | 3d4756756e5aee0f38717c582ad1e50b90a6ac90 | |
parent | cf9133cd2ed802912a30ce75a23de20b1d59ba40 (diff) | |
download | wireshark-a8dada642913ab30ffb781ff8aa51c935f72acdf.tar.gz wireshark-a8dada642913ab30ffb781ff8aa51c935f72acdf.tar.bz2 wireshark-a8dada642913ab30ffb781ff8aa51c935f72acdf.zip |
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
-rw-r--r-- | packet-ddtp.c | 8 |
1 files changed, 3 insertions, 5 deletions
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 <oabad@cybercable.fr> * - * $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 <gerald@zing.org> @@ -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); } |