mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
zebra: A zebra route-map delay-timer 0
command should still run the route-map
Setting `zebra route-map delay-timer 0` completely turns of any route-map processing in zebra. Which is completely wrong. A timer of 0 means `do it now`. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
fed1681178
commit
d33da0e071
@ -1770,12 +1770,11 @@ route_map_result_t zebra_nht_route_map_check(afi_t afi, int client_proto,
|
||||
static void zebra_route_map_mark_update(const char *rmap_name)
|
||||
{
|
||||
/* rmap_update_timer of 0 means don't do route updates */
|
||||
if (zebra_rmap_update_timer) {
|
||||
if (zebra_rmap_update_timer)
|
||||
THREAD_OFF(zebra_t_rmap_update);
|
||||
|
||||
thread_add_timer(zrouter.master, zebra_route_map_update_timer,
|
||||
NULL, zebra_rmap_update_timer,
|
||||
&zebra_t_rmap_update);
|
||||
}
|
||||
NULL, zebra_rmap_update_timer, &zebra_t_rmap_update);
|
||||
}
|
||||
|
||||
static void zebra_route_map_add(const char *rmap_name)
|
||||
|
Loading…
Reference in New Issue
Block a user