summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_route.c
diff options
context:
space:
mode:
authorpaul <paul>2003-04-04 02:35:27 +0000
committerpaul <paul>2003-04-04 02:35:27 +0000
commit81b3c9c636807877beaeed741ab8fef764959ab1 (patch)
treef79070fc938ed467c7e16f5a5bbd71e4b38f87f7 /ospfd/ospf_route.c
parentef43a3dc3618e2e7836a9bf76572a69d94c4b4fe (diff)
downloadquagga-zebra_org_20030404.tar.bz2
quagga-zebra_org_20030404.tar.xz
Import of Zebra CVS 20030404-03:35zebra_org_20030404
Diffstat (limited to 'ospfd/ospf_route.c')
-rw-r--r--ospfd/ospf_route.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c
index cc3b6787..3733ca55 100644
--- a/ospfd/ospf_route.c
+++ b/ospfd/ospf_route.c
@@ -676,9 +676,10 @@ ospf_route_table_dump (struct route_table *rt)
void
ospf_terminate ()
{
- struct ospf *ospf = ospf_top;
+ struct ospf *ospf;
+ listnode node;
- if (ospf)
+ LIST_LOOP (om->ospf, ospf, node)
{
if (ospf->new_table)
ospf_route_delete (ospf->new_table);