summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_updgrp.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-08-05 14:06:00 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-08-05 14:06:00 +0200
commitf1aa49293a4a8302b70989aaa9ceb715385c3a7e (patch)
tree65c2e3c0176433c096f1c26ab6314f15e2d29eaf /bgpd/bgp_updgrp.c
parentMerge pull request #11745 from mjstapp/fix_a_dot_py (diff)
downloadfrr-f1aa49293a4a8302b70989aaa9ceb715385c3a7e.tar.xz
frr-f1aa49293a4a8302b70989aaa9ceb715385c3a7e.zip
bgpd: Send route update when modifying access/aspath/prefix lists
Handle ORF REMOVE_ALL events as well, because now we just silently return, and a stale dynamic prefix-list is used instead of the new one. Before this, soft clear/route refresh was needed. Don't know the reason, but we didn't send updates when modifying the filters. Probably due to a massive change of filters and to avoid automatic updates :/ Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_updgrp.c')
-rw-r--r--bgpd/bgp_updgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_updgrp.c b/bgpd/bgp_updgrp.c
index 405dd8f6e..13d5ec6b8 100644
--- a/bgpd/bgp_updgrp.c
+++ b/bgpd/bgp_updgrp.c
@@ -1547,7 +1547,7 @@ static int update_group_periodic_merge_walkcb(struct update_group *updgrp,
* update groups.
*/
void update_group_policy_update(struct bgp *bgp, enum bgp_policy_type ptype,
- const char *pname, int route_update,
+ const char *pname, bool route_update,
int start_event)
{
struct updwalk_context ctx;