Wireshark-commits: [Wireshark-commits] rev 45854: /trunk/ /trunk/epan/dissectors/: packet-mbtcp.c /

Date: Wed, 31 Oct 2012 20:09:05 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45854

User: mmann
Date: 2012/10/31 01:09 PM

Log:
 Add CRC verification to Modbus RTU dissector.  CRC algorithm is the same as the "crc16-plain" with a different initial CRC (0xFFFF instead of 0).  Created crc16_plain_tvb_offset_seed to "replace" crc16_plain_tvb_offset, but didn't remove crc16_plain_tvb_offset for backwards compatibility worries.  Updated only dissector that used crc16_plain_tvb_offset (profinet/packet-pn-rt.c) to use crc16_plain_tvb_offset_seed(..., 0)

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +18 -4     packet-mbtcp.c    Modified

Directory: /trunk/epan/
  Changes    Path                Action
  +11 -0     crc16-tvb.c         Modified
  +16 -0     crc16-tvb.h         Modified
  +1 -0      libwireshark.def    Modified

Directory: /trunk/plugins/profinet/
  Changes    Path              Action
  +2 -2      packet-pn-rt.c    Modified