diff options
author | hasso <hasso> | 2003-07-03 08:36:02 +0000 |
---|---|---|
committer | hasso <hasso> | 2003-07-03 08:36:02 +0000 |
commit | 0c14ad88aab5df610acfe035385a7323e1683035 (patch) | |
tree | bdea3bbb0c7827830912470d1d69656e81df9f85 /ospfd/ospf_lsa.c | |
parent | 9d5260374afc19e31eab72b9d1550e8b57c57dbe (diff) | |
download | quagga-0c14ad88aab5df610acfe035385a7323e1683035.tar.bz2 quagga-0c14ad88aab5df610acfe035385a7323e1683035.tar.xz |
Don't install Type-7 LSA's into nonNSSA area.
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r-- | ospfd/ospf_lsa.c | 4 |
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); |