1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

NBMA networks seems to work, but this should be better. :-)

This commit is contained in:
Ondrej Filip
2000-06-06 00:08:27 +00:00
parent e5b5d18c1c
commit eb436e16fd
4 changed files with 24 additions and 2 deletions

View File

@@ -113,7 +113,14 @@ ospf_lsack_delay_tx(struct ospf_neighbor *n)
}
else
{
sk_send_to_agt(sk, len, ifa, NEIGHBOR_EXCHANGE);
if((ifa->state==OSPF_IS_DR)||(ifa->state==OSPF_IS_BACKUP))
{
sk_send_to_agt(sk, len, ifa, NEIGHBOR_EXCHANGE);
}
else
{
sk_send_to_bdr(sk, len, ifa);
}
}
fill_ospf_pkt_hdr(n->ifa, pk, LSACK_P);