Hmm, nasty bug, LSUPD was not well flooded via PTP interfaces. :-(

This commit is contained in:
Ondrej Filip 2000-12-14 01:04:51 +00:00
parent 501c5bb03f
commit 32749f493f

View file

@ -157,7 +157,8 @@ flood_lsa(struct ospf_neighbor *n, struct ospf_lsa_header *hn,
}
else
{
if((ifa->state==OSPF_IS_BACKUP)||(ifa->state==OSPF_IS_DR))
if((ifa->state==OSPF_IS_BACKUP)||(ifa->state==OSPF_IS_DR)||
(ifa->type==OSPF_IT_PTP))
sk_send_to(sk,len, AllSPFRouters, OSPF_PROTO);
else sk_send_to(sk,len, AllDRouters, OSPF_PROTO);
}