summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2003-07-03 08:36:02 +0000
committerhasso <hasso>2003-07-03 08:36:02 +0000
commit0c14ad88aab5df610acfe035385a7323e1683035 (patch)
treebdea3bbb0c7827830912470d1d69656e81df9f85
parent9d5260374afc19e31eab72b9d1550e8b57c57dbe (diff)
Don't install Type-7 LSA's into nonNSSA area.
-rw-r--r--ospfd/ospf_lsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c
index 3c4d6961..915f0fa7 100644
--- a/ospfd/ospf_lsa.c
+++ b/ospfd/ospf_lsa.c
@@ -1648,6 +1648,10 @@ ospf_install_flood_nssa (struct ospf *ospf,
for (node = listhead (ospf->areas); node; nextnode (node))
{
struct ospf_area *area = getdata (node);
+
+ /* Don't install Type-7 LSA's into nonNSSA area */
+ if (area->external_routing != OSPF_AREA_NSSA)
+ continue;
/* make lsa duplicate, lock=1 */
new2 = ospf_lsa_dup (lsa);