From 4894b7f5c3d633e7f58ee0558efdba879a649543 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 7 Jul 2008 18:26:15 +0000 Subject: [PATCH] Don't allow the invisible simple director to reference backend defined 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/lib/libvcl/vcc_backend.c b/varnish-cache/lib/libvcl/vcc_backend.c index 15161c1e..01472f0e 100644 --- a/varnish-cache/lib/libvcl/vcc_backend.c +++ b/varnish-cache/lib/libvcl/vcc_backend.c @@ -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; -- 2.39.5