summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xcli/gobgpcli2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/gobgpcli b/cli/gobgpcli
index f019a857..325c268d 100755
--- a/cli/gobgpcli
+++ b/cli/gobgpcli
@@ -73,6 +73,8 @@ class Show(object):
for i in n["conf"]["CapList"]:
if i in capdict:
i = capdict[i]
+ else:
+ i = "UNKNOWN (" + str(i) + ")"
print(" {:s}".format(i))
print(" Message statistics:")
print(" Sent Rcvd")