diff options
author | Ondrej Filip <feela@network.cz> | 2000-04-04 17:55:55 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-04-04 17:55:55 +0200 |
commit | d8852b362c015db38abf180888e77900f35089de (patch) | |
tree | bb3de1cc7b412260b2347d00e8378e4819debe6a /proto/ospf/lsreq.c | |
parent | 921a93f2176723d235989efe882050c0265bea84 (diff) | |
download | bird-d8852b362c015db38abf180888e77900f35089de.tar bird-d8852b362c015db38abf180888e77900f35089de.zip |
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 f894c66..716724a 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); |