]> err.no Git - varnish/commitdiff
Make sure to mark old VCL as inactive
authorTollef Fog Heen <tfheen@err.no>
Wed, 26 Nov 2008 00:13:28 +0000 (01:13 +0100)
committerTollef Fog Heen <tfheen@err.no>
Fri, 30 Jan 2009 12:06:42 +0000 (13:06 +0100)
varnish-cache/bin/varnishd/mgt_vcc.c

index 7558c31381de58ab277638862c6fb9e8fb14d238..356ede485946fa750e3f51d65781e135ca743714 100644 (file)
@@ -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;
        }