diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-30 23:23:49 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-30 23:23:49 +0200 |
commit | caab3bb374d2671982d068c0fb0aa6217691d5bd (patch) | |
tree | d3f6f81feef4bc2151c2354634ba9c8609d08730 /nest/proto.c | |
parent | 36032dedc619a39d45d6abe79d27110a98751ba9 (diff) | |
download | bird-caab3bb374d2671982d068c0fb0aa6217691d5bd.tar bird-caab3bb374d2671982d068c0fb0aa6217691d5bd.zip |
Better formatting of protocol status.
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/proto.c b/nest/proto.c index 5381f0d..5ec793e 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -549,7 +549,7 @@ proto_do_show(struct proto *p, int verbose) if (p->proto->get_status) p->proto->get_status(p, buf); tm_format_reltime(reltime, p->last_state_change); - cli_msg(-1002, "%-8s %-8s %-8s %-5s %-5s %s", + cli_msg(-1002, "%-8s %-8s %-8s %-5s %-5s %s", p->name, p->proto->name, p->table->name, @@ -572,7 +572,7 @@ proto_show(struct symbol *s, int verbose) cli_msg(9002, "%s is not a protocol", s->name); return; } - cli_msg(-2002, "name proto table state since info"); + cli_msg(-2002, "name proto table state since info"); if (s) proto_do_show(((struct proto_config *)s->def)->proto, verbose); else |