From d8852b362c015db38abf180888e77900f35089de Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 4 Apr 2000 15:55:55 +0000 Subject: LSupdate processing improved. Now there is some bug in hashing. :-( --- proto/ospf/lsreq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto/ospf/lsreq.c') 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); -- cgit v1.2.3