summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2020-04-30 18:01:08 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-20 21:41:01 +0200
commit93ecd7b4bfbbdafa05e7f2a34c3a54e7d16b215d (patch)
tree0657de438530f0867bf1196fd5f840b02dddb97c
parent73de59b27bdd4323abaeca5166da61d268bea1a2 (diff)
Fix None formating error in show neighborfix/neighbor-label
-rw-r--r--ryu/services/protocols/bgp/operator/commands/show/neighbor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/operator/commands/show/neighbor.py b/ryu/services/protocols/bgp/operator/commands/show/neighbor.py
index 20dcaa63..44a5a19c 100644
--- a/ryu/services/protocols/bgp/operator/commands/show/neighbor.py
+++ b/ryu/services/protocols/bgp/operator/commands/show/neighbor.py
@@ -127,7 +127,7 @@ class SentRoutes(Command):
time = 'N/A'
if v.get('timestamp'):
time = strftime("%Y/%m/%d %H:%M:%S", v.get('timestamp'))
- ret += cls.fmtstr.format(path_status, time, prefix, labels,
+ ret += cls.fmtstr.format(path_status, time, prefix, str(labels),
str(next_hop), str(med), str(localpref),
' '.join(map(str, aspath)))
return ret