]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: External LSA not flushed when area is configured as nssa or stub
authorSoman K S <somanks@gmail.com>
Sun, 18 Oct 2020 11:49:32 +0000 (17:19 +0530)
committerIgor Ryzhov <iryzhov@nfware.com>
Wed, 28 Oct 2020 18:35:48 +0000 (21:35 +0300)
commit67f6c7c0fc5ae1eaf8115068e9b9d21921891ec3
tree2e80d600e43e90f2753c766de960fea85505bb67
parent237b9cc523de31b2633cc80ebf39a6b9795db613
ospfd: External LSA not flushed when area is configured as nssa or stub

Issue:
When the ospf area is changed from default to nssa or stub, the previously
advertised external LSAs are not removed from the neighbor.
The LSAs remain in database till maxage timeout.

Fix:
Advertise the external LSAs with age set to maxage and flood to the
nssa or stub area.

Signed-off-by: kssoman <somanks@gmail.com>
ospfd/ospf_lsa.c
ospfd/ospf_lsa.h
ospfd/ospf_vty.c