[Pdns-dev] Re: [Pdns-users] Questions redux
norbert at linuxnetworks.de
Mon Sep 8 13:23:10 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
On Monday 08 September 2003 10:04, Chris Andrews wrote:
> On Sun, Sep 07, 2003 at 03:23:14PM +0200, Norbert Sendetzky wrote:
> > What about big endian vs. little endian in this example?
> > getLong() returns network byte order (at least I think so), but
> > the replaced code misses the ntohl() function. Isn't the output
> > in your example different?
> Er, you could be right. I remember there being an endianness issue
> with the first patch I submitted, which I hadn't seen on SPARC. I'm
> afraid I don't have the patch to hand to check.
After a quick look at dnspacket.cc it seems that in getAnswers() the
SOA case produces a wrong output. Each getLong() must be included in
I will post a patch soon.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
More information about the Pdns-dev