aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli/tap-ldapstat.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-04-27 22:24:19 -0400
committerMichael Mann <mmann78@netscape.net>2015-04-28 11:49:35 +0000
commitaeab984510c521fbef9346aa604ea7e2b88dd41c (patch)
tree27606c1a4c82be2ab9c83820e70214255ee71a43 /ui/cli/tap-ldapstat.c
parentaddf8f6012b91c0a26628f12a127faf39107df4a (diff)
Bugfix string compare length
Change-Id: Iddaad1ae5b80d5d10b482790c5c7a017fc94328b Reviewed-on: https://code.wireshark.org/review/8220 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/cli/tap-ldapstat.c')
-rw-r--r--ui/cli/tap-ldapstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-ldapstat.c b/ui/cli/tap-ldapstat.c
index 8fb5d101ab..e0021059fc 100644
--- a/ui/cli/tap-ldapstat.c
+++ b/ui/cli/tap-ldapstat.c
@@ -95,7 +95,7 @@ ldapstat_init(const char *opt_arg, void *userdata _U_)
GString *error_string;
int i;
- if (!strncmp(opt_arg, "ldap,srt,", 8)) {
+ if (!strncmp(opt_arg, "ldap,srt,", 9)) {
filter = opt_arg+8;
}