lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #34669] Inverted byte order in TCP_BUILD_MSS_OPTION


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #34669] Inverted byte order in TCP_BUILD_MSS_OPTION
Date: Fri, 28 Oct 2011 15:03:04 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Follow-up Comment #4, bug #34669 (project lwip):

And the code you attached, does it run on the target board or on a PC? I don't
have big-endian hardware to test, so I might not be able to reproduce the
issue...

If you're running it on the PC (which is little endian), that won't work as
the code uses htonl() (which is little-endian because defined to nothing and
you are running it on a little-endian machine) to build the mss option but
uses array access (which expects big-endian).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?34669>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]