summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_lsa.c
diff options
context:
space:
mode:
authorpaul <paul>2003-05-10 20:06:51 +0000
committerpaul <paul>2003-05-10 20:06:51 +0000
commit5537e53b17fe239801efaa0cbc4352fa6e9cef8f (patch)
treee4f870c3c09f808aea89c9bcd20dd84126293371 /ospfd/ospf_lsa.c
parent7e9dd9c855bc6b12642d86635b29531a42e30421 (diff)
downloadquagga-5537e53b17fe239801efaa0cbc4352fa6e9cef8f.tar.bz2
quagga-5537e53b17fe239801efaa0cbc4352fa6e9cef8f.tar.xz
From: Hasso Tepper
Fix removal of Type-7 LSAs, http://bugzilla.dishone.st/show_bug.cgi?id=18
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r--ospfd/ospf_lsa.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 0d1485b4..9ff95423 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -2257,6 +2257,9 @@ ospf_discard_from_db (struct ospf *ospf,
#ifdef HAVE_OPAQUE_LSA
case OSPF_OPAQUE_AS_LSA:
#endif /* HAVE_OPAQUE_LSA */
+#ifdef HAVE_NSSA
+ case case OSPF_AS_NSSA_LSA:
+#endif /* HAVE_NSSA */
ospf_ls_retransmit_delete_nbr_as (ospf, old);
ospf_ase_unregister_external_lsa (old, ospf);
break;
@@ -2666,9 +2669,13 @@ ospf_lsa_maxage_walker (struct thread *thread)
LSDB_LOOP (OPAQUE_LINK_LSDB (area), rn, lsa)
ospf_lsa_maxage_walker_remover (ospf, lsa);
#endif /* HAVE_OPAQUE_LSA */
+#ifdef HAVE_NSSA
+ LSDB_LOOP (NSSA_LSDB (area), rn, lsa)
+ ospf_lsa_maxage_walker_remover (ospf, lsa);
+#endif /* HAVE_NSSA */
}
- /* for AS-eternal-LSAs. */
+ /* for AS-external-LSAs. */
if (ospf->lsdb)
{
LSDB_LOOP (EXTERNAL_LSDB (ospf), rn, lsa)