]>
git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix debug to have proper nhop display
Display nexthop based on route type.
Ticket:CM-25129
Testing Done:
evpn route:
* [2]:[0]:[0]:[48]:[aa:aa:aa:aa:01:1a]:[32]:[45.0.2.111]
36.0.0.25 0 64000 5560 i
old:
BGP: Tx route add VRF 46 45.0.2.111/32 metric 0 tag 0 flags 0x1409 nhnum 1
BGP: nhop [1]: 2400:1d:: if 50 VRF 46
New:
BGP: import evpn prefix [2]:[aa:aa:aa:aa:01:1a]:[45.0.2.111]/224 as
ip prefix 45.0.2.111/32 in vrf vrf1
BGP: bgp_zebra_announce: p=45.0.2.111/32, bgp_is_valid_label: 2
BGP: Tx route add VRF 46 45.0.2.111/32 metric 0 tag 0 flags 0x1409 nhnum 1
BGP: nhop [1]: 36.0.0.25 if 50 VRF 46
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>