0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

Don't send flushed LSAs.

This commit is contained in:
Ondrej Filip 2000-05-09 18:20:39 +00:00
parent 9669362f05
commit cd22a62b3c

View File

@ -175,7 +175,9 @@ ospf_lsupd_tx_list(struct ospf_neighbor *n, list *l)
WALK_LIST(llsh, *l)
{
en=ospf_hash_find(n->ifa->oa->gr,llsh->lsh.id,llsh->lsh.rt,llsh->lsh.type);
if((en=ospf_hash_find(n->ifa->oa->gr,llsh->lsh.id,llsh->lsh.rt,
llsh->lsh.type))==NULL) continue; /* Probably flushed LSA */
DBG("Sending ID=%I, Type=%u, RT=%I\n", llsh->lsh.id, llsh->lsh.type,
llsh->lsh.rt);
if((len+en->lsa.length)>n->ifa->iface->mtu)