]> err.no Git - varnish/commitdiff
Don't allow the invisible simple director to reference backend defined
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 18:26:15 +0000 (18:26 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 7 Jul 2008 18:26:15 +0000 (18:26 +0000)
by another simple director, it would be too hard to explain why they
shared statistics and harder yet to make them not do so.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2887 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_backend.c

index 15161c1efd303513ab242eb6e3d52e123ff6c7cf..01472f0e3d24ce337fa277a14cdb307eae561c6a 100644 (file)
@@ -375,7 +375,7 @@ vcc_ParseBackend(struct tokenlist *tl)
        h->name = tl->t;
        vcc_NextToken(tl);
 
-       vcc_ParseBackendHost(tl, &nbh, h->name, "backend", 0);
+       vcc_ParseHostDef(tl, &nbh, h->name, "backend", 0);
        ERRCHK(tl);
 
        h->hnum = nbh;