Fixes LSA checksum computation for larger LSAs.
This commit is contained in:
parent
fdf16eb658
commit
f796945f04
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue