Skip to content

bgpd: Use the default local-preference value and not 0 when adjusting (backport #20400)#20407

Merged
donaldsharp merged 2 commits intostable/10.5from
mergify/bp/stable/10.5/pr-20400
Jan 8, 2026
Merged

bgpd: Use the default local-preference value and not 0 when adjusting (backport #20400)#20407
donaldsharp merged 2 commits intostable/10.5from
mergify/bp/stable/10.5/pr-20400

Conversation

@mergify
Copy link

@mergify mergify bot commented Jan 8, 2026

Closes #20366


This is an automatic backport of pull request #20400 done by Mergify.

If we use something like:

route-map x permit 10
 set local-preference +10

We treat that a default is 0, but it's not. We MUST respect the default
BGP local preference value that is set.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 32379b9)
…sting one

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit c73011d)
@frrbot frrbot bot added bgp tests Topotests, make check, etc labels Jan 8, 2026
@donaldsharp donaldsharp merged commit ed502ea into stable/10.5 Jan 8, 2026
22 of 23 checks passed
@Jafaral Jafaral deleted the mergify/bp/stable/10.5/pr-20400 branch January 27, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bgp size/L stable/10.5 tests Topotests, make check, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants