
10 Apr
2013
10 Apr
'13
12:57 p.m.
On Wed, Apr 10, 2013 at 3:26 AM, Florian Hofmann < fhofmann@techfak.uni-bielefeld.de> wrote:
I might be mistaken, but is there a bug in the Show instance of PortNum?
Not a bug, an annoying misdesign (IMO). A PortNum is actually in network byte order. If you extract it, you get the original port; if you simply show it, you see it byteswapped on little-endian platforms. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net