diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-10-21 21:22:04 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-10-22 13:52:00 -0300 |
| commit | 4056a5f6a582ec5b3c44b3e2a6275845f5a859d1 (patch) | |
| tree | aab16848a4b973bced99fa77cfb35856723d7156 /lib/workqueue.c | |
| parent | e84dfa4c2e5710b0f280ec7e077237c3dc4ea33a (diff) | |
bgpd: route suppression refactory
Instead of just counting the route suppressions, keep a reference for
all aggregations that are doing it. It should help the with the
following problems:
- Which aggregation suppressed the route.
- Double suppression
- Double unsuppression
- Avoids calling `bgp_process` if already suppressed/unsuppressed.
- Easier code maintenance and understanding
This also fixes a crash when modifying a route map that is
associated with a working aggregate-address.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions
