From: Tollef Fog Heen Date: Wed, 26 Nov 2008 00:13:28 +0000 (+0100) Subject: Make sure to mark old VCL as inactive X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8839ac2fd5566b004f2356551abcb79437da00b7;p=varnish Make sure to mark old VCL as inactive --- 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; }