Ethereal-cvs: [Ethereal-cvs] rev 16811: /trunk/epan/dissectors/: packet-mbtcp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 15 Dec 2005 22:54:35 GMT
User: sahlberg
Date: 2005/12/15 04:54 PM

Log:
 update to modbus/tcp
 
 Make the dissector new-style and add simple (better than nothing) heuristics so that it can reject some packets that are obviously not modbus.
 
 change the constants to upper case
 
 
  the horrors:
 replace two instances where tvb_memcpy()  were used to read straight into a structure to instead read the structure field by field using tvb_get_...()
 This may allow the modbus dissector to actually work.

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



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16811&view=rev