Commit 32379b9
committed
bgpd: Use the default local-preference value and not 0 when adjusting
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>1 parent b2cc85b commit 32379b9
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2399 | 2399 | | |
2400 | 2400 | | |
2401 | 2401 | | |
| 2402 | + | |
2402 | 2403 | | |
2403 | 2404 | | |
2404 | 2405 | | |
| |||
0 commit comments