summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-31 16:43:42 +0200
committerOndrej Filip <feela@network.cz>2000-05-31 16:43:42 +0200
commit528932368ac5c5ffe6ee3412fc8e9e1cb9cbd7db (patch)
tree10f0a2ddf80d2d182602a5f3e4f41fb7f6f1d0b4 /proto
parent1c1f1b6c0a9012aaf0d3b94275895cb87b5ff695 (diff)
downloadbird-528932368ac5c5ffe6ee3412fc8e9e1cb9cbd7db.tar
bird-528932368ac5c5ffe6ee3412fc8e9e1cb9cbd7db.zip
Stuping bug in net LSA origination. Now, I should survive
loss of my only neighbor.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/topology.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c
index 6dd4495..5e33811 100644
--- a/proto/ospf/topology.c
+++ b/proto/ospf/topology.c
@@ -279,7 +279,9 @@ originate_net_lsa(struct ospf_iface *ifa, struct proto_ospf *po)
ifa->nlsa->lsa.sn+=1;
ifa->nlsa->lsa.age=LSA_MAXAGE;
flood_lsa(NULL,NULL,&ifa->nlsa->lsa,po,NULL,ifa->oa,0);
+ s_rem_node(SNODE ifa->nlsa);
ospf_hash_delete(ifa->oa->gr, ifa->nlsa);
+ schedule_rtcalc(ifa->oa);
ifa->nlsa=NULL;
return ;
}