diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-06 00:21:51 -0800 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-06 00:21:51 -0800 |
commit | 00dc1a3befb4ef0f1424b93b7caa53e8b4b2f755 (patch) | |
tree | 851029fcafb4e29155e3c6405a0ca860a220beb1 /cli | |
parent | b2c5151fe6a197d77cee700c95fb8c0ba616b5fe (diff) |
cli: fix unknown capability code handling
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/gobgpcli | 2 |
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") |