]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix route selection with AIGP
authorEnke Chen <enchen@paloaltonetworks.com>
Tue, 15 Oct 2024 01:42:15 +0000 (18:42 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 15 Oct 2024 14:25:51 +0000 (14:25 +0000)
commit839a1c66f35931a9f814ff6efebe54af50379b70
tree5831e7a8d9edf7e6ef67ce5f0b92a61269bda753
parent3135d7597676ab32abf15bb60f4742e6b90b1f9b
bgpd: fix route selection with AIGP

The nexthop metric should be added to AIGP when calculating the
bestpath in bgp_path_info_cmp().

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