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

This commit is contained in:
Willy Tarreau 2007-10-18 16:38:37 +02:00
parent 10ae548052
commit 1388a3a8e8

View File

@ -563,7 +563,7 @@ int stats_dump_proxy(struct session *s, struct proxy *px, struct uri_auth *uri,
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;
}