* ospf_nsm.c: Make database exchange for NSSA database work.

	[backport candidate]
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog
index 4ba7add..55c7b7c 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 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)