]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: use igpmetric in bgp_aigp_metric_total() 17813/head
authorEnke Chen <enchen@paloaltonetworks.com>
Thu, 9 Jan 2025 20:02:02 +0000 (12:02 -0800)
committerEnke Chen <enchen@paloaltonetworks.com>
Thu, 9 Jan 2025 20:02:02 +0000 (12:02 -0800)
commitb89e66a3bcd5644278f34ec5899b071066e102a1
treec1dd9d539fadce0f599c623ebd455d9cfade4a59
parent3d7dbcf6c6fa18fc8b38debd8be4841a1ca867c5
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>
bgpd/bgp_attr.h