aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tcp.c
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@umr.edu>1999-12-09 04:06:54 +0000
committerNathan Neulinger <nneul@umr.edu>1999-12-09 04:06:54 +0000
commit0599f44d09c8799264cae5755b8dc338ce8391aa (patch)
treecb60080639681676afd7bf2f3e15a20f80b0ebcc /packet-tcp.c
parent90cf5bbf2a88befb99563d3c825b49d6701472c1 (diff)
downloadwireshark-0599f44d09c8799264cae5755b8dc338ce8391aa.tar.gz
wireshark-0599f44d09c8799264cae5755b8dc338ce8391aa.tar.bz2
wireshark-0599f44d09c8799264cae5755b8dc338ce8391aa.zip
added ldap dissector placeholder, just does request/response for now, until I have a chance to figure out ASN.1
svn path=/trunk/; revision=1254
Diffstat (limited to 'packet-tcp.c')
-rw-r--r--packet-tcp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-tcp.c b/packet-tcp.c
index 505bcefb5f..b2f0174e02 100644
--- a/packet-tcp.c
+++ b/packet-tcp.c
@@ -1,7 +1,7 @@
/* packet-tcp.c
* Routines for TCP packet disassembly
*
- * $Id: packet-tcp.c,v 1.51 1999/12/07 06:10:00 guy Exp $
+ * $Id: packet-tcp.c,v 1.52 1999/12/09 04:06:53 nneul Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -107,6 +107,7 @@ static gint ett_tcp_option_sack = -1;
#define TCP_PORT_MAPI 1065
#define TCP_PORT_TNS 1521
#define TCP_PORT_IRC 6667 /* good candidate for dynamic port specification */
+#define TCP_PORT_LDAP 389
/* TCP structs and definitions */
@@ -539,6 +540,9 @@ dissect_tcp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
} else if (PORT_IS(TCP_PORT_IRC)) {
pi.match_port = TCP_PORT_IRC;
dissect_irc(pd, offset, fd, tree);
+ } else if (PORT_IS(TCP_PORT_LDAP)) {
+ pi.match_port = TCP_PORT_LDAP;
+ dissect_ldap(pd, offset, fd, tree);
} else if (PORT_IS(TCP_PORT_SRVLOC)) {
pi.match_port = TCP_PORT_SRVLOC;
dissect_srvloc(pd, offset, fd, tree);