mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
lib : Child rmap not sending an update to parent rmap,if there is an update in child rmap.
Route map library creates a hash table to save the dependency binding. route-map LRM permit 1 call rLRM Whenever there is change in child routemap(rLRM), it tries to find the dependency mapping with the child route map MATCH event and it fails.The handing of match add and match delete was missing to get the correct dependency,here it's LRM. This fix would correct the flow to get the correct dependency. Signed-off-by: vishaldhingra <vdhingra@vmware.com>
This commit is contained in:
parent
1377170ba7
commit
0f8cf61ae6
@ -1828,6 +1828,8 @@ static struct hash *route_map_get_dep_hash(route_map_event_t event)
|
|||||||
break;
|
break;
|
||||||
case RMAP_EVENT_CALL_ADDED:
|
case RMAP_EVENT_CALL_ADDED:
|
||||||
case RMAP_EVENT_CALL_DELETED:
|
case RMAP_EVENT_CALL_DELETED:
|
||||||
|
case RMAP_EVENT_MATCH_ADDED:
|
||||||
|
case RMAP_EVENT_MATCH_DELETED:
|
||||||
upd8_hash = route_map_dep_hash[ROUTE_MAP_DEP_RMAP];
|
upd8_hash = route_map_dep_hash[ROUTE_MAP_DEP_RMAP];
|
||||||
break;
|
break;
|
||||||
case RMAP_EVENT_FILTER_ADDED:
|
case RMAP_EVENT_FILTER_ADDED:
|
||||||
|
Loading…
Reference in New Issue
Block a user