summaryrefslogtreecommitdiff
path: root/proto/ospf/ospf.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-23 17:02:41 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-07-23 17:02:41 +0200
commit048c2f0e8cc1451b1fa48e915e0bb5e124aa9d26 (patch)
tree3942c30d561d3f9ac274b42314ce7ac3c99f840b /proto/ospf/ospf.c
parent15b0a9229431dc75425c229b2f94e680db49d594 (diff)
OSPF: Fix formatting of 'show ospf neighbors'
The formatting was broken when too short router-id was used.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r--proto/ospf/ospf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 57e578da..ad4ddb61 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -805,7 +805,7 @@ ospf_sh_neigh(struct proto *P, char *iff)
}
cli_msg(-1013, "%s:", p->p.name);
- cli_msg(-1013, "%-12s\t%3s\t%-15s\t%-5s\t%-10s %-12s", "Router ID", "Pri",
+ cli_msg(-1013, "%-12s\t%3s\t%-15s\t%-5s\t%-10s %s", "Router ID", "Pri",
" State", "DTime", "Interface", "Router IP");
WALK_LIST(ifa, p->iface_list)
if ((iff == NULL) || patmatch(iff, ifa->ifname))