diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-30 10:45:28 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-30 10:45:28 +0200 |
| commit | 4c1ee29116aff081f63b1fc7dad18cbfe1b8007f (patch) | |
| tree | 969e4bd3a1b750eb0cb864d238d0a7ac20ad6dda /python/clidef.py | |
| parent | 56495a88dfc4959331e9baf4c442ea665b2fc776 (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>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions
