* ospf_nsm.c: Make database exchange for NSSA database work.
[backport candidate]
diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c
index b18540a..2af4fc1 100644
--- a/ospfd/ospf_nsm.c
+++ b/ospfd/ospf_nsm.c
@@ -309,6 +309,12 @@
}
#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)