summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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