diff options
| author | Don Slice <dslice@nvidia.com> | 2021-06-09 16:50:20 -0400 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-09-18 18:03:10 +0300 |
| commit | d4426b62d221f4e15810dbe578de05df8991c991 (patch) | |
| tree | 21945c280fefaebd37857658caae4cfa323c289e /lib/segment_routing.h | |
| parent | 091abc6b28ddba893d29d90d9e5e816fadb7d188 (diff) | |
bgpd: copy source vrf ASN to leaked route and block loops
When we leak routes and are using a different ASN in the
source vrf from the target vrf, it's possible we could
create loops because of an incomplete as-path (missing
the source vrf ASN). This fix adds the source vrf ASN and
stops the importing of a BGP prefix that has the target
ASN in the as-path in the source vrf.
Signed-off-by: Don Slice <dslice@nvidia.com>
Diffstat (limited to 'lib/segment_routing.h')
0 files changed, 0 insertions, 0 deletions
