From: Ondrej Filip Date: Wed, 31 May 2000 14:43:42 +0000 (+0000) Subject: Stuping bug in net LSA origination. Now, I should survive X-Git-Tag: v1.2.0~756 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=528932368ac5c5ffe6ee3412fc8e9e1cb9cbd7db;p=thirdparty%2Fbird.git Stuping bug in net LSA origination. Now, I should survive loss of my only neighbor. --- diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 6dd4495e9..5e33811da 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 ; }