Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

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

Date: Thu, 10 Jan 2008 08:49:16 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24053

User: guy
Date: 2008/01/10 08:49 AM

Log:
 Use WTAP_ENCAP_ERF as the file encapsulation, as that's what we'd
 otherwise use as the per-packet encapsulation.
 
 The close routine does nothing; get rid of it - you don't *need* a close
 routine (by default, the subtype_close pointer is null, which means that
 nothing per-file-type is done when the file is closed).
 
 Make the code to handle the length fields in the ERF header common,
 rather than copying it to each group of record types.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +9 -38     erf.c         Modified