diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-01-21 14:03:10 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-01-26 01:37:17 +0900 |
commit | 578327edc98089dd1dcbafa4b2efce9d71662941 (patch) | |
tree | 7dd8fcccadfd9597a368acd9cab5711e921b2f36 | |
parent | 611ffbe5a6a9331e644b9a8d7204ece8d92f1f8d (diff) |
bgp/cli: fix internel data destruction due to cli show command
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/services/protocols/bgp/operator/commands/show/neighbor.py | 2 |
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') |