Browse code

expires value is missing in the output of dst blacklist view rpc command

Miklos Tirpak authored on 14/09/2007 14:50:41
Showing 1 changed files
... ...
@@ -983,7 +983,7 @@ int h;
983 983
       rpc->printf(ctx, "{\n    protocol: %s", get_proto_name(e->proto));
984 984
       rpc->printf(ctx, "    ip: %s", ip_addr2a(&ip));
985 985
       rpc->printf(ctx, "    port: %d", e->port);
986
-      rpc->printf(ctx, "    expires in (s):", (s_ticks_t)(now-e->expire)<=0?
986
+      rpc->printf(ctx, "    expires in (s): %d", (s_ticks_t)(now-e->expire)<=0?
987 987
                        TICKS_TO_S(e->expire-now): -TICKS_TO_S(now-e->expire));
988 988
       rpc->printf(ctx, "    flags: %d\n}", e->flags);
989 989
     }