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

Date: Sun, 15 Sep 2013 01:48:35 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52045

User: mmann
Date: 2013/09/14 06:48 PM

Log:
 Convert proto_tree_add_uint_format to proto_tree_add_uint_format_value if hf_ field name is the first part of the formatted string.  This was done with a perl script on the dissectors directory (packet-*.c), followed by manual inspection of the output.  The manual inspection yielded a few cases that really should have been proto_tree_add_uint or proto_tree_add_item, so I updated them accordingly.
 
 The script didn't catch as many as I would have liked, but it's a start.
 
 The most common (ab)use of proto_tree_add_uint_format was for appending strings to CRC/checksum values to note good or bad CRC/checksum.

Directory: /trunk/epan/dissectors/
  Changes    Path                           Action
  +6 -6      packet-6lowpan.c               Modified
  +3 -3      packet-aol.c                   Modified
  +11 -11    packet-assa_r3.c               Modified
  +4 -4      packet-ccsds.c                 Modified
  +4 -4      packet-cdp.c                   Modified
  +2 -2      packet-classicstun.c           Modified
  +2 -2      packet-dcerpc.c                Modified
  +12 -12    packet-dcm.c                   Modified
  +10 -10    packet-dhcpv6.c                Modified
  +1 -1      packet-distcc.c                Modified
  +76 -125   packet-dmp.c                   Modified


(103 files not shown)