Wireshark-commits: [Wireshark-commits] rev 24051: /trunk/wiretap/ /trunk/wiretap/: erf.c
Date: Wed, 09 Jan 2008 22:58:43 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24051

User: morriss
Date: 2008/01/09 10:58 PM

Log:
 From Florent Drouin:
 
 fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1727 (pppd format file
 incorrectly detected as being an ERF file) by:
 
 The file_seek() call has been replaced by a call to file_read(), so, when the
 end of the file is reached and the current record is truncated, we have got an
 error.
 This solves the problem of bad file format detection.
 
 Additionaly, the ERF heuristic has been improved.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +41 -14    erf.c         Modified