diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-04-03 09:00:31 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-04-03 09:00:31 +0000 |
commit | 560819cad25245359e17b35f3630f3872e1349c0 (patch) | |
tree | 6597dc88ed680ecae3ceb20ba882de0c64232ed7 /packet-ldap.c | |
parent | 9653203d2497a307cf6d722c44e4465ea340e3d0 (diff) | |
download | wireshark-560819cad25245359e17b35f3630f3872e1349c0.tar.gz wireshark-560819cad25245359e17b35f3630f3872e1349c0.tar.bz2 wireshark-560819cad25245359e17b35f3630f3872e1349c0.zip |
Another update from Doug Nazar.
svn path=/trunk/; revision=1778
Diffstat (limited to 'packet-ldap.c')
-rw-r--r-- | packet-ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ldap.c b/packet-ldap.c index 7ebfc9e61e..b4d9df96f5 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.6 2000/04/03 07:48:55 guy Exp $ + * $Id: packet-ldap.c,v 1.7 2000/04/03 09:00:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -398,7 +398,7 @@ static int parse_filter(ASN1_SCK *a, char **filter, guint *filter_length, const ret = asn1_octet_string_value_decode(a, length, &string); if (ret != ASN1_ERR_NOERROR) return ret; - *filter_length += 3 + length; + *filter_length += 4 + length; *filter = g_realloc(*filter, *filter_length); sprintf(*filter + strlen(*filter), "(%.*s=*)", (int)length, string); g_free(string); |