diff options
| author | Soman K S <somanks@gmail.com> | 2020-10-18 17:19:32 +0530 |
|---|---|---|
| committer | Soman K S <somanks@gmail.com> | 2020-10-24 18:05:40 +0530 |
| commit | 44445dee9ac2d4eff9ed7405ccc9541e58031f24 (patch) | |
| tree | 053c64936398834f94567a34cd90ffdc3fc396bf /ospfd/ospf_lsa.h | |
| parent | 49f66cf17dc7df842640f6445e08406cf4145c5d (diff) | |
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>
Diffstat (limited to 'ospfd/ospf_lsa.h')
| -rw-r--r-- | ospfd/ospf_lsa.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h index 90f7b53632..e63af4b347 100644 --- a/ospfd/ospf_lsa.h +++ b/ospfd/ospf_lsa.h @@ -339,5 +339,6 @@ extern struct ospf_lsa *ospf_translated_nssa_refresh(struct ospf *, struct ospf_lsa *); extern struct ospf_lsa *ospf_translated_nssa_originate(struct ospf *, struct ospf_lsa *); - +extern void ospf_flush_lsa_from_area(struct ospf *ospf, struct in_addr area_id, + int type); #endif /* _ZEBRA_OSPF_LSA_H */ |
