[BUG] scope "." must match the backend and not the frontend

This commit is contained in:
Willy Tarreau 2007-10-18 18:10:47 +02:00
parent 0324f3a078
commit 2a877034af

View file

@ -3750,7 +3750,7 @@ int produce_content_stats_proxy(struct session *s, struct proxy *px)
break;
/* match '.' which means 'self' proxy */
if (!strcmp(scope->px_id, ".") && px == s->fe)
if (!strcmp(scope->px_id, ".") && px == s->be)
break;
scope = scope->next;
}