mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-10 23:06:10 +02:00
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>
This commit is contained in:
parent
611ffbe5a6
commit
578327edc9
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user