Commit ca8dda44 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Make vcl.use slightly more chatty

Output that we've switched VCLs and which one we have switched to when
using vcl.use.

Fixes #1232
parent 8762363b
......@@ -607,6 +607,7 @@ mcf_config_use(struct cli *cli, const char * const *av, void *priv)
VCLI_SetResult(cli, status);
VCLI_Out(cli, "%s", p);
} else {
VCLI_Out(cli, "VCL '%s' now active", av[2]);
vp->active = 2;
VTAILQ_FOREACH(vp, &vclhead, list) {
if (vp->active == 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment