summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-08-15 16:04:21 +0000
committerpaul <paul>2003-08-15 16:04:21 +0000
commit048ba1d0a99f4f25c3b5909273119dbc006b50ff (patch)
treebade4d231cbae3dd3241c395bdc0792bfabaefe0
parent162e2d9fc4fea60280cdd2fb8a5d73828dfdfce1 (diff)
2003-08-15 Paul Jakma <paul@dishone.st>
* ospfd/ospf_route.c: Fixup extraneous list_delete which was causing SEGVs of ospfd.
-rw-r--r--ospfd/ospf_route.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_route.c b/ospfd/ospf_route.c
index e1e1e390..c1c11f19 100644
--- a/ospfd/ospf_route.c
+++ b/ospfd/ospf_route.c
@@ -586,8 +586,7 @@ ospf_intra_add_stub (struct route_table *rt, struct router_lsa_link *link,
cur_or->cost = cost;
- list_delete (cur_or->paths);
- cur_or->paths = NULL;
+ list_delete_all_node (cur_or->paths);
ospf_route_copy_nexthops_from_vertex (cur_or, v);