Browse Source

ospfd: Don't leave stale RouterLSA's when changing areaID

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Feng Lu <lu.feng@6wind.com>
Joakim Tjernlund 9 years ago
parent
commit
6b274d90fa
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ospfd/ospfd.c

+ 4 - 1
ospfd/ospfd.c

@@ -827,7 +827,10 @@ ospf_network_unset (struct ospf *ospf, struct prefix_ipv4 *p,
         }
 
       if (found == 0)
-        ospf_if_free (oi);
+	{
+	  ospf_if_free (oi);
+	  ospf_area_check_free (ospf, area_id);
+	}
     }
   
   /* Update connected redistribute. */