summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ospfd/ChangeLog4
-rw-r--r--ospfd/ospf_nsm.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index 4ba7addd..55c7b7c7 100644
--- a/ospfd/ChangeLog
+++ b/ospfd/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-20 Hasso Tepper <hasso at quagga.net>
+
+ * ospf_nsm.c: Make database exchange for NSSA database work.
+
2005-06-13 Paul Jakma <paul.jakma@sun.com>
* ospf_spf.c: Try get more information on a SEGV under
diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c
index b18540a4..2af4fc18 100644
--- a/ospfd/ospf_nsm.c
+++ b/ospfd/ospf_nsm.c
@@ -309,6 +309,12 @@ nsm_negotiation_done (struct ospf_neighbor *nbr)
}
#endif /* HAVE_OPAQUE_LSA */
+ if (CHECK_FLAG (nbr->options, OSPF_OPTION_NP))
+ {
+ LSDB_LOOP (NSSA_LSDB (area), rn, lsa)
+ ospf_db_summary_add (nbr, lsa);
+ }
+
if (nbr->oi->type != OSPF_IFTYPE_VIRTUALLINK
&& area->external_routing == OSPF_AREA_DEFAULT)
LSDB_LOOP (EXTERNAL_LSDB (nbr->oi->ospf), rn, lsa)