Wireshark-commits: [Wireshark-commits] rev 35841: /trunk/epan/ /trunk/epan/dissectors/: packet-3g-a

Date: Mon, 07 Feb 2011 08:18:22 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35841

User: guy
Date: 2011/02/07 12:18 AM

Log:
 For FT_{ABSOLUTE,RELATIVE}_TIME, make the rest of the encoding
 orthogonal to the byte order.
 
 This means that we can't just test for a non-zero encoding to determine
 whether the format is big-endian or little-endian when we set the
 field's endianness flag; instead, for the types where we accept any
 non-zero value as meaning "litle-endian", map it to ENC_LITTLE_ENDIAN.
 
 When we use ENC_TIME_NTP, OR in the byte order flag.  While we're at it,
 in the dissectors that used ENC_TIME_NTP, update all the other encoding
 items in proto_tree_add_item() calls to use the appropriate ENC_ value.

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +93 -93    packet-3g-a11.c    Modified
  +16 -16    packet-ntp.c       Modified

Directory: /trunk/epan/
  Changes    Path          Action
  +180 -20   proto.c       Modified
  +9 -6      proto.h       Modified