]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: add carriage return when dumping tags from all evpn rds 9653/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 22 Sep 2021 07:59:44 +0000 (09:59 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 22 Sep 2021 08:01:06 +0000 (10:01 +0200)
commit700ddfed69f482e1bb0408530b071a1041b63746
treed2bb080b106862e4270be14d0dadb58a2da33ff4
parentd24f4b7d84e3c1937a3edc87ed00ecfb3dd8e784
bgpd: add carriage return when dumping tags from all evpn rds

following command: show bgp l2vpn evpn rd all tags
does not append rd contexts one after the other

before:
dut-vm# show bgp l2vpn evpn rd all tags
   Network          Next Hop      In tag/Out tag
Route Distinguisher: 65000:999
*> [5]:[0]:[24]:[10.40.1.0]
                    10.209.36.1     Route Distinguisher: 65000:1000
*> [5]:[0]:[24]:[10.40.1.0]
                    10.209.36.1
Displayed 2 out of 2 total prefixes

after:
dut-vm# show bgp l2vpn evpn rd all tags
   Network          Next Hop      In tag/Out tag
Route Distinguisher: 65000:999
*> [5]:[0]:[24]:[10.40.1.0]
                    10.209.36.1
Route Distinguisher: 65000:1000
*> [5]:[0]:[24]:[10.40.1.0]
                    10.209.36.1

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_route.c