diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-04 15:55:55 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-04 15:55:55 +0000 |
commit | d8852b362c015db38abf180888e77900f35089de (patch) | |
tree | bb3de1cc7b412260b2347d00e8378e4819debe6a /proto/ospf/lsreq.c | |
parent | 921a93f2176723d235989efe882050c0265bea84 (diff) |
LSupdate processing improved. Now there is some bug in hashing. :-(
Diffstat (limited to 'proto/ospf/lsreq.c')
-rw-r--r-- | proto/ospf/lsreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/lsreq.c b/proto/ospf/lsreq.c index f894c66f..716724a7 100644 --- a/proto/ospf/lsreq.c +++ b/proto/ospf/lsreq.c @@ -45,7 +45,8 @@ ospf_lsreq_tx(struct ospf_neighbor *n) DBG("Requesting %uth LSA: Type: %u, Id: %u, RT: %u\n",i, en->lsa.type, en->lsa.id, en->lsa.rt); lsh++; - if((sn=sn->next)==NULL) break; + if(sn==STAIL(n->lsrql)) break; + sn=sn->next; } length=sizeof(struct ospf_lsreq_packet)+(j-i)*sizeof(struct ospf_lsreq_header); |