diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-07-18 06:12:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-07-18 06:12:43 +0000 |
commit | 1cd5aad5ebae2525d8e686ea49c147e9dbc34480 (patch) | |
tree | 412f9fa0ea3b44c8109049e270b2ceb1dc401346 /packet-ldap.c | |
parent | 42d9c722d75f4e8170a18166d1faa5b695fc5774 (diff) |
Put in an XXX comment about the code to remember the number of results
between the LDAP_RES_SEARCH_ENTRY and LDAP_RES_SEARCH_RESULT messages
depending on those messages occurring in the same frame.
svn path=/trunk/; revision=8044
Diffstat (limited to 'packet-ldap.c')
-rw-r--r-- | packet-ldap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-ldap.c b/packet-ldap.c index 5dd5bb582f..59bcff50ea 100644 --- a/packet-ldap.c +++ b/packet-ldap.c @@ -3,7 +3,7 @@ * * See RFC 1777 (LDAP v2), RFC 2251 (LDAP v3), and RFC 2222 (SASL). * - * $Id: packet-ldap.c,v 1.59 2003/07/14 23:47:32 tpot Exp $ + * $Id: packet-ldap.c,v 1.60 2003/07/18 06:12:43 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1629,6 +1629,10 @@ dissect_ldap_message(tvbuff_t *tvb, int offset, packet_info *pinfo, dissect_ldap_response_bind(&a, ldap_tree, start, opLen, tvb, pinfo); break; case LDAP_RES_SEARCH_ENTRY: { + /* + * XXX - this assumes that the LDAP_RES_SEARCH_ENTRY and + * LDAP_RES_SEARCH_RESULT appear in the same frame. + */ guint32 *num_results = p_get_proto_data(pinfo->fd, proto_ldap); if (!num_results) { |