]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_intra.c
ospf6d: Fix when an "export-list" or "filter-list out" is applied.
authorlynne <lynne@voltanet.io>
Thu, 25 Mar 2021 15:58:45 +0000 (11:58 -0400)
committerlynne <lynne@voltanet.io>
Tue, 4 May 2021 19:28:56 +0000 (15:28 -0400)
commitf6c5f2e0c3c46400fa95b401add386beab1e5118
treeee58ef223908209c8bb78265ae6f0ade45361c34
parentbc79672d3ef80eac67abc5f1d96fc6e8e125d062
ospf6d: Fix when an "export-list" or "filter-list out" is applied.

When an "export-filter" or "filter-list out" was configured on an area the
filter was not applied to existing database.    The user would either have
to restart the neighboring router in the other area or issue a "clear ipv6
ospf6 interface" to cause the neighbor router to resend it's LSAs.   The
new filter would then be applied to these LSAs and permit or deny summary
LSAs from being added/removed from the database.  The code now applies the
filters to the existing database without user needing to take any action
to clear ospfv3 adjacencies.

The second part of the problem was if a rule changed the updated filter was
not applied.  The code has been modifed to now process the rule update and
reapply the filter.

Signed-off-by: Lynne Morrison <lynne@voltanet.io>
ospf6d/ospf6_abr.c
ospf6d/ospf6_abr.h
ospf6d/ospf6_area.c
ospf6d/ospf6_area.h
ospf6d/ospf6_flood.c
ospf6d/ospf6_intra.c
ospf6d/ospf6d.c