Commit 5175539a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Also call vmod::event on cold/warm/use events.

parent 4ce9f900
......@@ -205,6 +205,9 @@ vcc_ParseImport(struct vcc *tl)
VSB_printf(ifp->fin,
"\t\t(void)%s(ctx, &vmod_priv_%.*s,\n"
"\t\t VCL_EVENT_DISCARD);\n", p, PF(mod));
VSB_printf(ifp->event,
"\t(void)%s(ctx, &vmod_priv_%.*s, ev);\n",
p, PF(mod));
} else {
sym = VCC_AddSymbolStr(tl, p, SYM_FUNC);
ERRCHK(tl);
......
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