diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-04 17:05:24 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-04 17:05:24 +0000 |
commit | 8e15e048f2e14dcdd9915860feace487e4ae07d5 (patch) | |
tree | b168d0731d55b79ba97c1634f0e7866128b1f47d /proto/ospf/lsupd.c | |
parent | 7a03e29d5c7ff07c907ed0d4c4f1c226eba5941d (diff) |
Deleted useles "struct proto" sending.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r-- | proto/ospf/lsupd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index f56974c9..0f50cb55 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -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; } |