Commit 00284f0e authored by Ondřej Zajíček's avatar Ondřej Zajíček

BFD: Fix formatting of 'show bfd sessions'

The formatting was broken due to longer date in 'since' column.
parent cec40a74
......@@ -1084,7 +1084,7 @@ bfd_show_sessions(struct proto *P)
cli_msg(-1020, "%s:", p->;
cli_msg(-1020, "%-25s %-10s %-10s %-10s %8s %8s",
cli_msg(-1020, "%-25s %-10s %-10s %-12s %8s %8s",
"IP address", "Interface", "State", "Since", "Interval", "Timeout");
......@@ -1100,7 +1100,7 @@ bfd_show_sessions(struct proto *P)
state = (state < 4) ? state : 0;
tm_format_time(tbuf, &config->tf_proto, s->last_state_change);
cli_msg(-1020, "%-25I %-10s %-10s %-10s %7t %7t",
cli_msg(-1020, "%-25I %-10s %-10s %-12s %7t %7t",
s->addr, ifname, bfd_state_names[state], tbuf, tx_int, timeout);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment