[Ns-bugs] [Bug 316] Build fails on OSX Intel

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Sun Sep 7 07:32:42 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=316





------- Comment #12 from gjcarneiro at gmail.com  2008-09-07 10:32 -------
By the way, the patch is not sound:

-    m_remotePort = ntohs(port);
+    m_remotePort = nsc_bytswap_16 (port);

ntohs is _not_ a simple byte swap.  It only swaps bytes on little endian
architectures.


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list