mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 09:22:32 +00:00
Merge pull request #8828 from idryzhov/bgp-routemap-update
bgpd: fix routemap update with disabled delay timer
This commit is contained in:
commit
bdd3d216f9
@ -3767,7 +3767,6 @@ static void bgp_route_map_process_update_cb(char *rmap_name)
|
|||||||
bgp_route_map_process_update(bgp, rmap_name, 1);
|
bgp_route_map_process_update(bgp, rmap_name, 1);
|
||||||
|
|
||||||
#ifdef ENABLE_BGP_VNC
|
#ifdef ENABLE_BGP_VNC
|
||||||
/* zlog_debug("%s: calling vnc_routemap_update", __func__); */
|
|
||||||
vnc_routemap_update(bgp, __func__);
|
vnc_routemap_update(bgp, __func__);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -3807,13 +3806,15 @@ static void bgp_route_map_mark_update(const char *rmap_name)
|
|||||||
BGP_POLICY_ROUTE_MAP,
|
BGP_POLICY_ROUTE_MAP,
|
||||||
rmap_name, 1, 1);
|
rmap_name, 1, 1);
|
||||||
} else {
|
} else {
|
||||||
for (ALL_LIST_ELEMENTS(bm->bgp, node, nnode, bgp))
|
for (ALL_LIST_ELEMENTS(bm->bgp, node, nnode, bgp)) {
|
||||||
bgp_route_map_process_update(bgp, rmap_name, 0);
|
bgp_route_map_process_update(bgp, rmap_name, 0);
|
||||||
#ifdef ENABLE_BGP_VNC
|
#ifdef ENABLE_BGP_VNC
|
||||||
zlog_debug("%s: calling vnc_routemap_update", __func__);
|
|
||||||
vnc_routemap_update(bgp, __func__);
|
vnc_routemap_update(bgp, __func__);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vpn_policy_routemap_event(rmap_name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void bgp_route_map_add(const char *rmap_name)
|
static void bgp_route_map_add(const char *rmap_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user