[PATCH 2/2] Don't hide the last ban in the list on the CLI ban.list output
Martin Blix Grydeland
martin at varnish-software.com
Wed Nov 7 13:01:41 CET 2012
---
bin/varnishd/cache/cache_ban.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/bin/varnishd/cache/cache_ban.c b/bin/varnishd/cache/cache_ban.c
index 2acfe80..712b095 100644
--- a/bin/varnishd/cache/cache_ban.c
+++ b/bin/varnishd/cache/cache_ban.c
@@ -1200,8 +1200,6 @@ ccf_ban_list(struct cli *cli, const char * const *av, void *priv)
VCLI_Out(cli, "Present bans:\n");
VTAILQ_FOREACH(b, &ban_head, list) {
- if (b == bl && !DO_DEBUG(DBG_LURKER))
- break;
VCLI_Out(cli, "%10.6f %5u%s\t", ban_time(b->spec),
bl == b ? b->refcount - 1 : b->refcount,
b->flags & BAN_F_GONE ? "G" : " ");
--
1.7.9.5
More information about the varnish-dev
mailing list