diff options
author | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-08-21 02:18:34 +0000 |
---|---|---|
committer | tpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-08-21 02:18:34 +0000 |
commit | c2ef0d45ef40f1c4dcb3a6538a04a544ebbc8c28 (patch) | |
tree | 60d8c8c6e2efa76d393939bd206ea076af7d919c /packet-ldap.c | |
parent | 455f18d30c21d9bdceb66441c2aa6566dddb8f7a (diff) |
Dissect udp port 389 which is connectionless LDAP as implemented by
Microsoft. It would be nice if this proto was called CLDAP in the protocol
field - maybe later.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6041 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ldap.c')
-rw-r--r-- | packet-ldap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-ldap.c b/packet-ldap.c index 88ffb1e0b7..d4ec924b29 100644 --- a/packet-ldap.c +++ b/packet-ldap.c @@ -1,7 +1,7 @@ /* packet-ldap.c * Routines for ldap packet dissection * - * $Id: packet-ldap.c,v 1.43 2002/08/02 23:35:53 jmayer Exp $ + * $Id: packet-ldap.c,v 1.44 2002/08/21 02:18:34 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -106,6 +106,7 @@ static gint ett_ldap_attribute = -1; static gboolean ldap_desegment = TRUE; #define TCP_PORT_LDAP 389 +#define UDP_PORT_CLDAP 389 static value_string msgTypes [] = { {LDAP_REQ_BIND, "Bind Request"}, @@ -1542,4 +1543,5 @@ proto_reg_handoff_ldap(void) ldap_handle = create_dissector_handle(dissect_ldap, proto_ldap); dissector_add("tcp.port", TCP_PORT_LDAP, ldap_handle); + dissector_add("udp.port", UDP_PORT_CLDAP, ldap_handle); } |