]> git.puffer.fish Git - matthieu/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:24:41 +0000 (14:24 +0000)
commit0527820a18d2fe6be3427b8d49b5c09233af45cd
treed686e4dcdbe32f74937075db00f6428f3a5334e6
parent42e33e677c2cd9c152a6b6f58e648ebe9fc58f0e
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