summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-30 18:13:59 +0200
committerOndrej Filip <feela@network.cz>2000-05-30 18:13:59 +0200
commit1b128de364e5a1931c1cc61b04c1e44960007025 (patch)
tree1d30756dff16999c56b1c5730cb3f1fcd240e660 /proto/ospf
parent935ceabea43714e4abae7ecaac0f072e8a4ecb15 (diff)
downloadbird-1b128de364e5a1931c1cc61b04c1e44960007025.tar
bird-1b128de364e5a1931c1cc61b04c1e44960007025.zip
Better shutdown.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/ospf.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c
index 5a8c34e..49e0233 100644
--- a/proto/ospf/ospf.c
+++ b/proto/ospf/ospf.c
@@ -131,18 +131,11 @@ ospf_shutdown(struct proto *p)
struct ospf_neighbor *n;
struct ospf_area *oa;
debug("%s: Shutdown requested\n", p->name);
- /* first of all flush my rt LSA */
-
- WALK_LIST(oa,po->area_list)
- {
- net_flush_lsa(oa->rt,po,oa);
- }
-
/* And send to all my neighbors 1WAY */
WALK_LIST(ifa, po->iface_list)
{
- WALK_LIST(n, ifa->neigh_list) neigh_chstate(n,NEIGHBOR_DOWN);
+ init_list(&ifa->neigh_list);
hello_timer_hook(ifa->hello_timer);
}