summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2022-11-07 11:56:37 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2022-11-15 09:49:38 +0100
commitf874552557cf2577ae91b297f422e307084f22d3 (patch)
tree7f2901385b70b8ba4afd60b81840f194e6ed333a /lib/command.h
parent2c7c09d94cfb840d443f35436214e03536ad45ab (diff)
bgpd: authorise to select bgp self peer prefix on rr case
This commit addresses an issue that happens when using bgp peering with a rr client, with a received prefix which is the local ip address of the bgp session. When using bgp ipv4 unicast session, the local prefix is received by a peer, and finds out that the proposed prefix and its next-hop are the same. To avoid a route loop locally, no nexthop entry is referenced for that prefix, and the route will not be selected. When the received peer is a route reflector, the prefix has to be selected, even if the route can not be installed locally. Fixes: ("fb8ae704615c") bgpd: prevent routes loop through itself Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command.h')
0 files changed, 0 insertions, 0 deletions