commit | 0c14ad88aab5df610acfe035385a7323e1683035 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Thu Jul 03 08:36:02 2003 +0000 |
committer | hasso <hasso> | Thu Jul 03 08:36:02 2003 +0000 |
tree | bdea3bbb0c7827830912470d1d69656e81df9f85 | |
parent | 9d5260374afc19e31eab72b9d1550e8b57c57dbe [diff] |
Don't install Type-7 LSA's into nonNSSA area.
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 3c4d696..915f0fa 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c
@@ -1648,6 +1648,10 @@ 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);