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

Deleted useles "struct proto" sending.

This commit is contained in:
Ondrej Filip
2004-06-04 17:05:24 +00:00
parent 7a03e29d5c
commit 8e15e048f2
4 changed files with 13 additions and 14 deletions

View File

@@ -366,7 +366,7 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
/* pg 143 (4) */
if((lsatmp.age==LSA_MAXAGE)&&(lsadb==NULL)&&can_flush_lsa(oa))
{
ospf_lsack_enqueue(n, lsa, p, ACKL_DIRECT);
ospf_lsack_enqueue(n, lsa, ACKL_DIRECT);
continue;
}
@@ -399,7 +399,7 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
if((lsatmp.age==LSA_MAXAGE)&&(lsatmp.sn==LSA_MAXSEQNO))
{
ospf_lsack_enqueue(n, lsa, p, ACKL_DIRECT);
ospf_lsack_enqueue(n, lsa, ACKL_DIRECT);
continue;
}
@@ -432,9 +432,9 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
DBG("Wasn't flooded back\n"); /* ps 144(5e), pg 153 */
if(ifa->state==OSPF_IS_BACKUP)
{
if(ifa->drid==n->rid) ospf_lsack_enqueue(n, lsa, p, ACKL_DELAY);
if(ifa->drid==n->rid) ospf_lsack_enqueue(n, lsa, ACKL_DELAY);
}
else ospf_lsack_enqueue(n, lsa, p, ACKL_DELAY);
else ospf_lsack_enqueue(n, lsa, ACKL_DELAY);
}
/* Remove old from all ret lists */
@@ -488,13 +488,13 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
ospf_hash_delete(n->lsrth, en);
if(ifa->state==OSPF_IS_BACKUP)
{
if(n->rid==ifa->drid) ospf_lsack_enqueue(n, lsa, p, ACKL_DELAY);
if(n->rid==ifa->drid) ospf_lsack_enqueue(n, lsa, ACKL_DELAY);
}
}
else
{
/* pg145 (7b) */
ospf_lsack_enqueue(n, lsa, p, ACKL_DIRECT);
ospf_lsack_enqueue(n, lsa, ACKL_DIRECT);
}
continue;
}