]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: use igpmetric in bgp_aigp_metric_total() 17834/head
authorEnke Chen <enchen@paloaltonetworks.com>
Thu, 9 Jan 2025 20:02:02 +0000 (12:02 -0800)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 10 Jan 2025 14:27:46 +0000 (14:27 +0000)
commitd7f5113d901c51049df03d3afa2aaf1cac6a6188
tree0c4da19af75446800a9e64778e8a7af125887aca
parent7426f0bac7805026a5f98eaa6c84745edb06b899
bgpd: use igpmetric in bgp_aigp_metric_total()

Use igpmetric from bgp_path_info in bgp_igp_metric_total() to be
consistent with all other cases, e.g., as in bgp_path_info_cmp().

Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
(cherry picked from commit b89e66a3bcd5644278f34ec5899b071066e102a1)
bgpd/bgp_attr.h