Signed-off-by: ISHIDA Wataru <[email protected]>
---
 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 860c2ee..fa9614c 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')
-- 
1.9.1


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to