]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_asbr.c
ospf6d: Fix ospf6 redist with route-map
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 28 Dec 2017 19:12:35 +0000 (11:12 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Sat, 30 Dec 2017 18:56:53 +0000 (10:56 -0800)
commitc600ce450f3fc6938aa1381d0090a014a145da11
treea68dce7d1f555d6952fa7ccaadd3e3159d5510f3
parentff99c5b2bb523560108f68f9251dcd93a1b9d7ee
ospf6d: Fix ospf6 redist with route-map

When ospf6 configure with redistribute connected/protocol
with route-map. Upon restart of frr.service, ospf6 receives
redistribute update then route-map update.
During redistribute route update, since route-map info is not
filled, route is suppressed from injected as external route.

Fix: reset redistribute when route-map update received
matches with redistribution (type) and route-map name.

Ticket:CM-13800
Testing Done:
Configure ospf6 redistribute with route-map to inject
Type-2 external routes into database. Trigger frr restart
redistribute with route-map happens.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_asbr.c