]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Respect allowas-in value from the source VRF's peer
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 8 Jan 2025 17:03:55 +0000 (19:03 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 8 Jan 2025 17:16:04 +0000 (19:16 +0200)
commit0dd15189f9783f7b45327111e4334f2208f584f2
tree5e58d793903c230a001544edb0b8fd457f28a3dc
parent21fe1f4d83502ac1c2262913c1a98441ea89bf24
bgpd: Respect allowas-in value from the source VRF's peer

If the peer which has allowas-in enabled and then reimports the routes to another
local VRF, respect that value.

This was working with < 10.2 releases.

Fixes: d4426b62d221f4e15810dbe578de05df8991c991 ("bgpd: copy source vrf ASN to leaked route and block loops")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_route.c