]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix flushing of all LSAs when NSSA is unconfigured
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 18 Aug 2021 20:59:58 +0000 (17:59 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 24 Aug 2021 03:24:41 +0000 (00:24 -0300)
commitccfffce4a06cf4cc7f50a33dbe5313edc8cf9d60
tree77e081d38da72646d77fb01d85d1235085520025
parentbb257321b21904cdb8a86f01476d8a07b8059b07
ospf6d: fix flushing of all LSAs when NSSA is unconfigured

Once NSSA is unconfigured on an area, all self-originated Type-7
LSAs need to be flushed. The existing code was iterating over the
LSDB in the wrong way, causing ospf6_nssa_flush_area() to flush
LSAs of all types.  Use the ALL_LSDB_TYPED_ADVRTR macro to perform
the intended iteration correctly.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_nssa.c