0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

Fixes LSA checksum computation for larger LSAs.

This commit is contained in:
Ondrej Zajicek 2011-07-03 23:24:38 +02:00
parent fdf16eb658
commit f796945f04

View File

@ -243,7 +243,7 @@ lsasum_check(struct ospf_lsa_header *h, void *body)
}
else
{
c0 += *(b + (p - sp) - sizeof(struct ospf_lsa_header) + 2);
c0 += *(b + (p - (u8 *) (h + 1)));
}
c1 += c0;