summaryrefslogtreecommitdiff
path: root/ospfd/ospf_nsm.c
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/ospf_nsm.c
parent354f3b66355f7b658d4cc5e8681c80326af13ee7 (diff)
* ospf_nsm.c: Make database exchange for NSSA database work.
[backport candidate]
Diffstat (limited to 'ospfd/ospf_nsm.c')
-rw-r--r--ospfd/ospf_nsm.c6
1 files changed, 6 insertions, 0 deletions
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)