From 8839ac2fd5566b004f2356551abcb79437da00b7 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Wed, 26 Nov 2008 01:13:28 +0100 Subject: [PATCH] Make sure to mark old VCL as inactive --- varnish-cache/bin/varnishd/mgt_vcc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/mgt_vcc.c b/varnish-cache/bin/varnishd/mgt_vcc.c index 7558c313..356ede48 100644 --- a/varnish-cache/bin/varnishd/mgt_vcc.c +++ b/varnish-cache/bin/varnishd/mgt_vcc.c @@ -540,6 +540,7 @@ mcf_config_reload(struct cli *cli, const char *const *av, void *priv) } else { active = vp->active; REPLACE(vp->name, oldname); + vp->active = 0; vp = mgt_vcc_add(av[2], vf); vp->active = active; } -- 2.39.5