From 8779733eef9ed7d408331d4c868403503375a750 Mon Sep 17 00:00:00 2001 From: Miklos Tirpak Date: Fri, 14 Sep 2007 14:50:41 +0000 Subject: [PATCH] expires value is missing in the output of dst blacklist view rpc command --- dst_blacklist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dst_blacklist.c b/dst_blacklist.c index e75e6b7819..020806453f 100644 --- a/dst_blacklist.c +++ b/dst_blacklist.c @@ -983,7 +983,7 @@ int h; rpc->printf(ctx, "{\n protocol: %s", get_proto_name(e->proto)); rpc->printf(ctx, " ip: %s", ip_addr2a(&ip)); rpc->printf(ctx, " port: %d", e->port); - rpc->printf(ctx, " expires in (s):", (s_ticks_t)(now-e->expire)<=0? + rpc->printf(ctx, " expires in (s): %d", (s_ticks_t)(now-e->expire)<=0? TICKS_TO_S(e->expire-now): -TICKS_TO_S(now-e->expire)); rpc->printf(ctx, " flags: %d\n}", e->flags); } -- 2.20.1