From: Michael Tremer Date: Mon, 5 Jan 2026 18:21:21 +0000 (+0000) Subject: dnsbl: Fix the history output on the console X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732a6193ade713e2762bc7450a71ba7e1f78e3fc;p=dbl.git dnsbl: Fix the history output on the console Signed-off-by: Michael Tremer --- diff --git a/src/scripts/dnsbl.in b/src/scripts/dnsbl.in index cd40079..9a438c2 100644 --- a/src/scripts/dnsbl.in +++ b/src/scripts/dnsbl.in @@ -589,14 +589,16 @@ class CLI(object): # Add the header table.add_column(_("Timestamp")) - table.add_column(_("Domains Added")) + table.add_column(_("Domains Blocked")) + table.add_column(_("Domains Allowed")) table.add_column(_("Domains Removed")) # Add the history for events in history: table.add_row( babel.dates.format_datetime(events.ts), - "\n".join(events.domains_added), + "\n".join(events.domains_blocked), + "\n".join(events.domains_allowed), "\n".join(events.domains_removed), )