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 860c2eed..fa9614c9 100644
--- a/ryu/services/protocols/bgp/operator/commands/show/neighbor.py
+++ b/ryu/services/protocols/bgp/operator/commands/show/neighbor.py
@@ -102,7 +102,7 @@ class SentRoutes(Command):
aspath = path.get('as_path')
origin = path.get('origin')
if origin:
- aspath.append(origin)
+ aspath = aspath + [origin]
next_hop = path.get('nexthop')
med = path.get('metric')