0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 20:58:44 +00:00

Stuping bug in net LSA origination. Now, I should survive

loss of my only neighbor.
This commit is contained in:
Ondrej Filip 2000-05-31 14:43:42 +00:00
parent 1c1f1b6c0a
commit 528932368a

View File

@ -279,7 +279,9 @@ originate_net_lsa(struct ospf_iface *ifa, struct proto_ospf *po)
ifa->nlsa->lsa.sn+=1; ifa->nlsa->lsa.sn+=1;
ifa->nlsa->lsa.age=LSA_MAXAGE; ifa->nlsa->lsa.age=LSA_MAXAGE;
flood_lsa(NULL,NULL,&ifa->nlsa->lsa,po,NULL,ifa->oa,0); 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); ospf_hash_delete(ifa->oa->gr, ifa->nlsa);
schedule_rtcalc(ifa->oa);
ifa->nlsa=NULL; ifa->nlsa=NULL;
return ; return ;
} }