]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Remove private ASNs after we modify the as-path with the route-map
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 14 Sep 2023 18:17:07 +0000 (21:17 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 14 Sep 2023 18:17:07 +0000 (21:17 +0300)
commitdc6fdaa27e62c75ac2a1831633ce6637b9d468fc
tree91199079cb1a9d505cb398bd8ba4426ece48144d
parent75dbd45c5570c088dc0e2cf83e1b22b0ec0a30b3
bgpd: Remove private ASNs after we modify the as-path with the route-map

If we modify as-path with route-map and prepend with private ASNs, then we
advertise a new as-path without stripping private ASNs. Let's fix this, and
remove private ASNs despite if they were sent by the origin or prepended locally.

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