Wireshark-commits: [Wireshark-commits] rev 25733: /trunk/wiretap/ /trunk/wiretap/: erf.c

Date: Mon, 14 Jul 2008 05:46:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25733

User: jake
Date: 2008/07/13 10:46 PM

Log:
 From Stephen Donnelly:
 ERF files can contain records of type TYPE_PAD. These records are not related
 to captured packets, have a zero timestamp value and no associated packet data.
 Normally TYPE_PAD records are stripped out during capture, but in rare cases
 unstripped files may exist.
 Previously wiretap/erf.c generated an 'unknown record encapsulation' error when
 encountering TYPE_PAD records.
 With this patch Wireshark skips over any TYPE_PAD records within ERF traces
 files without reporting an error. TYPE_PAD records are not counted, displayed
 or decoded.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +6 -3      erf.c         Modified