]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Properly use bgp_path_info_cmp for evpn usage
authorDonald Sharp <sharpd@nvidia.com>
Thu, 7 Sep 2023 19:25:27 +0000 (15:25 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 7 Sep 2023 19:31:55 +0000 (15:31 -0400)
commitc2f0fd315f661ceb9238959e5854db41ccea010a
treea2941724b55d3c76c4beba5037693a8fb114edd3
parentd16d013ca3d191b4768365934fbb3ebebf3facc3
bgpd: Properly use bgp_path_info_cmp for evpn usage

Currently evpn passes into bgp_path_info_cmp the pfx_buf
uninitialized.  The bgp_path_info_cmp functionality actually
expects this value to be initialized.  Additionally the
evpn section of bgp_path_info_comp was resetting the
new_buf and exist_buf values that were already being
set above to the same values if !debug was on( which
precluded it ever from happening )

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_route.c