aboutsummaryrefslogtreecommitdiff
path: root/src/tbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tbf.c')
-rw-r--r--src/tbf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tbf.c b/src/tbf.c
index 129e1f5..211db79 100644
--- a/src/tbf.c
+++ b/src/tbf.c
@@ -844,6 +844,13 @@ tbf_exit(void)
}
}
+int
+tbf_init(struct vmod_priv *priv, const struct VCL_conf *vclconf)
+{
+ tbf_tree = tree_create();
+ atexit(tbf_exit);
+}
+
VCL_VOID
vmod_debug(MOD_CTX ctx, VCL_INT newval)
{

Return to:

Send suggestions and report system problems to the System administrator.