0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Stupid "+1"-bug fixed.

This commit is contained in:
Ondrej Filip 2000-04-12 14:49:20 +00:00
parent c8f685cb9d
commit 58313b24c8

View File

@ -48,6 +48,7 @@ ospf_lsreq_tx(struct ospf_neighbor *n)
if(sn==STAIL(n->lsrql)) break;
sn=sn->next;
}
if(i!=0) i--;
length=sizeof(struct ospf_lsreq_packet)+(j-i)*sizeof(struct ospf_lsreq_header);
op->length=htons(length);