From eb95b5ec1a5c3bd4e57f3a134828f8de2875cb43 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Fri, 8 Dec 2017 15:16:47 +0100 Subject: Nest: Minor formatting changes --- nest/proto.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nest/proto.c') diff --git a/nest/proto.c b/nest/proto.c index a2a2bc7e..d7650517 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1662,13 +1662,14 @@ proto_cmd_show(struct proto *p, uintptr_t verbose, int cnt) /* First protocol - show header */ if (!cnt) - cli_msg(-2002, "name proto table state since info"); + cli_msg(-2002, "%-10s %-10s %-10s %-6s %-12s %s", + "Name", "Proto", "Table", "State", "Since", "Info"); buf[0] = 0; if (p->proto->get_status) p->proto->get_status(p, buf); tm_format_time(tbuf, &config->tf_proto, p->last_state_change); - cli_msg(-1002, "%-8s %-8s %-8s %-5s %-10s %s", + cli_msg(-1002, "%-10s %-10s %-10s %-6s %-12s %s", p->name, p->proto->name, p->main_channel ? p->main_channel->table->name : "---", -- cgit v1.2.3