summaryrefslogtreecommitdiff
path: root/python/firstheader.py
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2022-11-07 11:56:37 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2022-11-17 02:58:49 +0000
commit56dd706e9b3a5eb790fa695e8f6f71e73b843aab (patch)
tree26894b26ee099eac0275d52f8c4c374754c52315 /python/firstheader.py
parent23f40f230d1fe293eb519aafb0825444ea44f0e0 (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> (cherry picked from commit f874552557cf2577ae91b297f422e307084f22d3)
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions