summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xcli/gobgpcli2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/gobgpcli b/cli/gobgpcli
index b14a1e49..ff69f625 100755
--- a/cli/gobgpcli
+++ b/cli/gobgpcli
@@ -164,7 +164,7 @@ class Show(object):
maxtimelen = len(str(t))
n["info"]["time"] = t
- h = "{:%ds} {:%ds} {:%ds} {:8s} |" % (maxaddrlen, maxaslen, maxtimelen)
+ h = "{:%ds} {:>%ds} {:%ds} {:8s} |" % (maxaddrlen, maxaslen, maxtimelen)
f1 = h + "#{:8s} {:8s} {:8s}"
print(f1.format("Peer", "AS", "Up/Down", "State", "Advertised", "Received", "Accepted"))
for n in sorted_neighbors: