diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-30 10:45:28 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-05 15:17:25 +0000 |
| commit | 8d1ade44be3cb85afc31fa26cc51592e2fe7c41b (patch) | |
| tree | a23b9012f88b3ddeebee74b59303f23a31195b73 /pathd/path_errors.c | |
| parent | 02f4fef5ffd88923c63f219b9a118221ea800d80 (diff) | |
bgpd: Treat numbered community-list only if it's in a range 1-500
Before this patch, if we set something like:
```
bgp extcommunity-list expanded 1234 permit admin
```
In running config we have:
```
bgp extcommunity-list 1234 seq 5 permit admin
```
That leads to incorrect rendering, even more the line can't be deleted.
With this fix we treat numbered community-list only if it's inside the range
1-500, otherwise it's a non-numbered clist.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 4c1ee29116aff081f63b1fc7dad18cbfe1b8007f)
Diffstat (limited to 'pathd/path_errors.c')
0 files changed, 0 insertions, 0 deletions
