]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Allow self next-hop if `bgp allow-martian-nexthop` is enabled
authorDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 24 Mar 2023 12:38:47 +0000 (14:38 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 24 Mar 2023 12:42:38 +0000 (14:42 +0200)
commit6cddc4c866fb8fb397112e5a89c74a9ff6359981
treeacf74b9c1cb94428595fc8c70eb369c0ad0be499
parent8eb09e64d205ccb24223be5de254167ec96f61b6
bgpd: Allow self next-hop if `bgp allow-martian-nexthop` is enabled

For instance, if we receive the routes from the peer with the next-hop as me,
but those routes shares the same network, we can fake the next-hop.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_route.c