diff --git a/src/http_ana.c b/src/http_ana.c index dd513e994..e0fe67e24 100644 --- a/src/http_ana.c +++ b/src/http_ana.c @@ -1824,7 +1824,7 @@ int http_wait_for_response(struct stream *s, struct channel *rep, int an_bit) ctx.blk = NULL; while (http_find_header(htx, hdr, &ctx, 0)) { if ((ctx.value.len >= 9 && word_match(ctx.value.ptr, ctx.value.len, "Negotiate", 9)) || - (ctx.value.len >= 4 && word_match(ctx.value.ptr, ctx.value.len, "NTLM", 4))) { + (ctx.value.len >= 4 && !memcmp(ctx.value.ptr, "NTLM", 4))) { sess->flags |= SESS_FL_PREFER_LAST; srv_conn->flags |= CO_FL_PRIVATE; }