Wireshark-commits: [Wireshark-commits] rev 25738: /trunk/plugins/ethercat/ /trunk/plugins/ethercat/

Date: Mon, 14 Jul 2008 19:56:38 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25738

User: sake
Date: 2008/07/14 12:56 PM

Log:
 From Richard Kuemmel (bug 2668):
 
 Removed the line 
 tvb_ensure_bytes_exist(tvb, offset, 44);
 from  again. 
 This is not correct, because the frame might have been captured before the
 os added the padding bytes. E.g. in Windows the frames are captured on the
 protocol layer. When another protocol driver sends a frame this frame does 
 not include the padding bytes.  
 
 Also the dataLength variable in case of bMox==TRUE  was not calculated
 correctly.

Directory: /trunk/plugins/ethercat/
  Changes    Path                          Action
  +19 -12    packet-ethercat-datagram.c    Modified