]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUG] scope "." must match the backend and not the frontend
authorWilly Tarreau <w@1wt.eu>
Thu, 18 Oct 2007 14:38:37 +0000 (16:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Oct 2007 14:38:37 +0000 (16:38 +0200)
src/dumpstats.c

index bba8c2ce76608c064b8e70cc1a53ad2b8e40ce59..701227d8bb3444b99b7e6590701122626a563b79 100644 (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;
                        }