]> 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)
committerEnke Chen <enchen@paloaltonetworks.com>
Tue, 15 Oct 2024 01:45:06 +0000 (18:45 -0700)
commit081422e8e71085d3a3d4d2ff0bc1e1abaff0d52e
tree372ec3d4c6c54410a77b7d954a7f7fbf24c1f7a9
parentd1433ee9a8fa374ee653dcf1fe6e852481b17119
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>
bgpd/bgp_attr.c
bgpd/bgp_attr.h
bgpd/bgp_route.c