[PATCH 08/15] Also report ban events to the transient stevedore (in case it wants to know)
Martin Blix Grydeland
martin at varnish-software.com
Wed Nov 7 12:32:11 CET 2012
---
bin/varnishd/storage/stevedore.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bin/varnishd/storage/stevedore.c b/bin/varnishd/storage/stevedore.c
index c64fb62..01818b1 100644
--- a/bin/varnishd/storage/stevedore.c
+++ b/bin/varnishd/storage/stevedore.c
@@ -461,6 +461,9 @@ STV_BanInfo(enum baninfo event, const struct ban *ban)
VTAILQ_FOREACH(stv, &stv_stevedores, list)
if (stv->baninfo != NULL)
stv->baninfo(stv, event, ban);
+ stv = stv_transient;
+ if (stv->baninfo != NULL)
+ stv->baninfo(stv, event, ban);
}
/*--------------------------------------------------------------------
--
1.7.9.5
More information about the varnish-dev
mailing list