diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-03-17 14:48:35 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-03-18 11:31:55 +0000 |
| commit | 6d7a03d0b1b53cf5d225b0af3f21301bb7858542 (patch) | |
| tree | f763231a2c6ee80d4ee5784ad41d960b6e41a7a1 /lib/clippy.c | |
| parent | 444a4716fbdefb61d0b7964731470f3019033cc2 (diff) | |
lib: Adjust only `any` flag for prefix-list entries if destroying
Before this patch, if we destroy `any` flag for a prefix-list entry, we always
set destination as 0.0.0.0/0 and/or ::/0.
This means that, if we switch from `ip prefix-list r1-2 seq 5 deny any` to
`ip prefix-list r1-2 seq 5 permit 10.10.10.10/32` we will have
`permit any` eventually, which broke ACLs.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 61c07b9d43529f69f48ca54f4f0213cff52b5d0a)
Diffstat (limited to 'lib/clippy.c')
0 files changed, 0 insertions, 0 deletions
