0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Grr, another patch to make it compile.

This commit is contained in:
Ondrej Filip 2000-04-18 22:11:05 +00:00
parent 740d16d972
commit 85c92555ef

View File

@ -289,12 +289,16 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
DBG("PG143(5): Received LSA is newer\n"); DBG("PG143(5): Received LSA is newer\n");
/* pg 144 (5a) */ /* pg 144 (5a) */
if(lsadb && ((now-lsadb->inst_t)<MINLSARRIVAL)) continue; if(lsadb && ((now-lsadb->inst_t)<MINLSARRIVAL))
{
DBG("I got it in less that MINLSARRIVAL\n");
continue;
}
if(flood_lsa(n,lsa,&lsatmp,po,ifa,ifa->oa)==0) if(flood_lsa(n,lsa,&lsatmp,po,ifa,ifa->oa)==0)
{ {
DGB("Wasn't flooded back\n"); DBG("Wasn't flooded back\n");
if(ifa->state==OSPF_IS_BACKUP) if(ifa->state==OSPF_IS_BACKUP)
{ {
if(ifa->drid==n->rid) ospf_lsa_delay(n, lsa, p); if(ifa->drid==n->rid) ospf_lsa_delay(n, lsa, p);