diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-04-16 16:41:51 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-24 11:35:40 +0000 |
| commit | 16600df2c4f4baef9b8745b857aea8948f96ccb2 (patch) | |
| tree | c833fdc11c887a3dd258e59799265d3e321fc39a /tests/topotests/example-test/test_example.py | |
| parent | 147e933fd2ebbaa6f98f5e657279b2cf9e39c6e8 (diff) | |
bgpd: fix show run of network route-distinguisher
Route-distinguisher (RD) is not printed properly in show run:
> address-family ipv6 vpn
> network ff01::/64 rd (null) label 7
> network ff01::/64 rd (null) label 8
ad151f66aa ("bgpd: Refactor bgp_static_set/bgp_static_set_safi") merged
bgp_static_set_safi into bgp_static_set but inadvertently omitted the
handling of prd_pretty.
Copy the pretty RD string if available.
> address-family ipv6 vpn
> network ff01::/64 rd 75:5 label 7
> network ff01::/64 rd 85:5 label 8
Fixes: ad151f66aa ("bgpd: Refactor bgp_static_set/bgp_static_set_safi")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
(cherry picked from commit 3d3a138f5a177a2ef5996c17c76c4f7778f9c3aa)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions
