OSPF performance/SPF calculations

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Apr 23 10:54:33 CEST 2010

Ondrej Zajicek <santiago at crfreenet.org> wrote on 2010/04/23 10:54:26:
> On Fri, Apr 23, 2010 at 08:27:40AM +0200, Joakim Tjernlund wrote:
> > > Yes, but not at the moment. The endian problem should be addressed when you
> > > build the lsa.
> >
> > Does this help at all? In any case, the (int) cast should be there.
> Removing of endianity swap is correct only if the Fletcher checksum
> would return the same value regardless of endianity swap. Is this
> a property of the Fletcher checksum? I don't see that.

Assuming the LSA's are in the same endian(Big Endian) the sum should
be the same. You might have to swap the sum before returning it to the caller.

Quagga does NOT do what BIRD does and it works as it should.


More information about the Bird-users mailing list