From 578327edc98089dd1dcbafa4b2efce9d71662941 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Wed, 21 Jan 2015 14:03:10 +0900 Subject: bgp/cli: fix internel data destruction due to cli show command Signed-off-by: ISHIDA Wataru Signed-off-by: FUJITA Tomonori --- 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 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') -- cgit v1.2.3