On Sun, Apr 26, 2015 at 05:10:11PM +0100, Chris Boot wrote: > Prior to this patch, BIRD validates the OSPF LSA checksum by calculating > a new checksum and comparing it with the checksum in the header. Due to > the specifics of the Fletcher checksum used in OSPF, this is not > necessarily correct as the checkbytes in the header may be calculated > via a different means and end up with a different value that is > nonetheless still correct. > > The documented means of validating the checksum as specified in RFC 905 > B.4 is to calculate c0 and c1 from the unchanged contents of the packet, > which must result in a zero value to be considered valid. > > Signed-off-by: Chris Boot <bo...@bootc.net>
Thanks, merged. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
signature.asc
Description: Digital signature