Revision a7a7372a proto/ospf/lsack.c
proto/ospf/lsack.c | ||
---|---|---|
79 | 79 |
} |
80 | 80 |
|
81 | 81 |
static inline void |
82 |
ospf_send_lsack(struct ospf_neighbor *n, int queue)
|
|
82 |
ospf_send_lsack_(struct ospf_proto *p, struct ospf_neighbor *n, int queue)
|
|
83 | 83 |
{ |
84 | 84 |
struct ospf_iface *ifa = n->ifa; |
85 |
struct ospf_proto *p = ifa->oa->po; |
|
86 | 85 |
struct ospf_lsa_header *lsas; |
87 | 86 |
struct ospf_packet *pkt; |
88 | 87 |
struct lsa_node *no; |
... | ... | |
121 | 120 |
} |
122 | 121 |
|
123 | 122 |
void |
124 |
ospf_lsack_send(struct ospf_neighbor *n, int queue)
|
|
123 |
ospf_send_lsack(struct ospf_proto *p, struct ospf_neighbor *n, int queue)
|
|
125 | 124 |
{ |
126 | 125 |
while (!EMPTY_LIST(n->ackl[queue])) |
127 |
ospf_send_lsack(n, queue);
|
|
126 |
ospf_send_lsack_(p, n, queue);
|
|
128 | 127 |
} |
129 | 128 |
|
130 | 129 |
void |
... | ... | |
160 | 159 |
|
161 | 160 |
if (lsa_comp(&lsa, &ret->lsa) != CMP_SAME) |
162 | 161 |
{ |
163 |
if ((lsa.sn == LSA_MAXSEQNO) && (lsa.age == LSA_MAXAGE)) |
|
164 |
continue; |
|
165 |
|
|
166 | 162 |
OSPF_TRACE(D_PACKETS, "Strange LSACK from %I", n->ip); |
167 | 163 |
OSPF_TRACE(D_PACKETS, "Type: %04x, Id: %R, Rt: %R", |
168 | 164 |
lsa_type, lsa.id, lsa.rt); |
Also available in: Unified diff