summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsack.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-04 22:41:02 +0200
committerOndrej Filip <feela@network.cz>2004-06-04 22:41:02 +0200
commit9b7de4c4d13a5701aac446627672e65fce9e1a9d (patch)
tree72a8e8742eff396abdf463ef1311310aed258ec9 /proto/ospf/lsack.c
parent54467ed46b31e29215e50d32b0a757998de29793 (diff)
downloadbird-9b7de4c4d13a5701aac446627672e65fce9e1a9d.tar
bird-9b7de4c4d13a5701aac446627672e65fce9e1a9d.zip
'struct proto' removed
Finally, I found the bug reported by Andreas Steinmetz. FIXED.
Diffstat (limited to 'proto/ospf/lsack.c')
-rw-r--r--proto/ospf/lsack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/lsack.c b/proto/ospf/lsack.c
index fb0844d..cb27ec8 100644
--- a/proto/ospf/lsack.c
+++ b/proto/ospf/lsack.c
@@ -162,9 +162,9 @@ ospf_lsack_receive(struct ospf_lsack_packet *ps,
{
ntohlsah(plsa + i, &lsa);
if ((en = ospf_hash_find_header(n->lsrth, &lsa)) == NULL)
- continue;
+ continue; /* pg 155 */
- if (lsa_comp(&lsa, &en->lsa) != CMP_SAME)
+ if (lsa_comp(&lsa, &en->lsa) != CMP_SAME) /* pg 156 */
{
if ((lsa.sn == LSA_MAXSEQNO) && (lsa.age == LSA_MAXAGE))
continue;