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 40175: /trunk/ /trunk/: capinfos.c capture_info.c editca

Date: Tue, 13 Dec 2011 09:53:52 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=40175

User: guy
Date: 2011/12/13 01:53 AM

Log:
 Rename WTAP_ERR_BAD_RECORD to WTAP_ERR_BAD_FILE; it really reports any
 form of corruption/bogosity in a file, including in a file header as
 well as in records in the file.  Change the error message
 wtap_strerror() returns for it to reflect that.
 
 Use it for some file header problems for which it wasn't already being
 used - WTAP_ERR_UNSUPPORTED shouldn't be used for that, it should only
 be used for files that we have no reason to believe are invalid but that
 have a version number we don't know about or some other
 non-link-layer-encapsulation-type value we don't know about.

Directory: /trunk/
  Changes    Path              Action
  +2 -2      capinfos.c        Modified
  +1 -1      capture_info.c    Modified
  +2 -2      editcap.c         Modified
  +4 -4      file.c            Modified
  +2 -2      mergecap.c        Modified
  +2 -2      rawshark.c        Modified
  +2 -2      tshark.c          Modified

Directory: /trunk/wiretap/
  Changes    Path                     Action
  +1 -1      5views.c                 Modified
  +1 -1      aethra.c                 Modified
  +11 -11    airopeek9.c              Modified
  +2 -2      ascendtext.c             Modified


(36 files not shown)