Wireshark-commits: [Wireshark-commits] rev 39708: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Wed, 02 Nov 2011 01:53:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39708

User: guy
Date: 2011/11/01 06:53 PM

Log:
 Amazingly, there *are* apparently protocols with IPv4 addresses in
 byte-swapped form - i.e., not network byte order, but the reverse of
 network byte order - as, a long time ago, somebody asked to have the
 "little_endian" flag affect the way proto_tree_add_item() fetched IPv4
 addresses from the packet.
 
 Use ENC_BIG_ENDIAN for IPv4 addresses (ENC_NA and ENC_BIG_ENDIAN have
 the same value, but this makes it clearer that we, sadly, need to care).

Directory: /trunk/epan/dissectors/
  Changes    Path                 Action
  +2 -2      packet-diameter.c    Modified