summaryrefslogtreecommitdiff
path: root/ospfd/ospf_interface.c
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-06-30 06:13:19 +0000
committerMobashshera Rasool <mrasool@vmware.com>2021-06-30 11:55:17 +0000
commit2f43e34de15b61b8e9a8398c18172d9e485e2f2c (patch)
tree4256a76b28c278d715cd537fe062a09acbd18451 /ospfd/ospf_interface.c
parent309f6af6054f915c061f738d7a97801e1166ea22 (diff)
ospf6d: route-map config changed, not getting applied on all types of routes
Problem Statement: ================== when route-map config is changed from permit to deny, it is not getting applied to both connected and static and vice versa RCA: ================== When route-map changes from permit to deny or vice versa, a notification is sent to ospf6 daemon via ospf6_asbr_routemap_update. In this function, a thread is scheduled after 5 seconds to apply the route-map changes. In this thread (ospf6_asbr_routemap_update_timer), only the first type is passed as argument and only the first type i.e "connected" is passed and hence in callback only on this type of route route-map gets applied. Fix: ==== Need to loop through all the route-types in the call back and process the route-map changes. Added a flag to mark which all route-types needs to be processed. Test Executed: =============== 1. Change route-map from permit to deny. 2. Change route-map from deny to permit. 3. Add new route and checked. 4. Verified summarised routes. Risk: ============ Low Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'ospfd/ospf_interface.c')
0 files changed, 0 insertions, 0 deletions