From 93ecd7b4bfbbdafa05e7f2a34c3a54e7d16b215d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 30 Apr 2020 18:01:08 +0200 Subject: Fix None formating error in show neighbor --- ryu/services/protocols/bgp/operator/commands/show/neighbor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3