summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorhasso <hasso>2005-06-20 20:42:26 +0000
committerhasso <hasso>2005-06-20 20:42:26 +0000
commitf4833e9f47c0f2f4f5b9a4c020f751055cdd1e20 (patch)
treea91a6d303407dc3fddcb47530ffb38d644499d48 /ospfd
parent354f3b66355f7b658d4cc5e8681c80326af13ee7 (diff)
* ospf_nsm.c: Make database exchange for NSSA database work.
[backport candidate]
Diffstat (limited to 'ospfd')
-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)