diff options
Diffstat (limited to 'ospfd/ospf_route.c')
-rw-r--r-- | ospfd/ospf_route.c | 5 |
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); |