mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Fixes LSA checksum computation for larger LSAs.
This commit is contained in:
parent
fdf16eb658
commit
f796945f04
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user