Ouch! Does the diff I just checked in work for you? E
On Thu, Oct 11, 2012 at 4:02 AM, Markku Savela <[email protected]> wrote: > On 10/11/2012 10:08 AM, Markku Savela wrote: > >> Apparently MIPS in big endian mode and calling htonq is not >> correct. I was using htonq in same sense as "htonl", which >> always works, whether host is big or little endian. > > > If anyone is insterested, following diff is my attempt to make > htonq/ntohq safe to call regardless of the host endianness? > (works for my MIPS -> x86 case, but of course, these things > are tricky, so some one needs to check this, or think a > better implementation). > > > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
