Wireshark-commits: [Wireshark-commits] master 40f69b2: Use WTAP_ERR_UNSUPPORTED for input file stuf
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 17 Dec 2014 06:23:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=40f69b2778cb6a9add18cfeacbca430284b1cd66
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

40f69b2 by Guy Harris (guy@xxxxxxxxxxxx):

    Use WTAP_ERR_UNSUPPORTED for input file stuff we can't handle.
    
    WTAP_ERR_UNSUPPORTED_ENCAP means "I can't *write* that particular
    encapsulation type to a file of this format", which mainly means "that
    file format simply can't handle packets of that type";
    WTAP_ERR_UNSUPPORTED means "this file can't currently be supported by
    Wireshark, as there's some feature in the file - such as a file or
    per-packet encapsulation type - that we don't (yet) handle".
    
    Change-Id: I53cadf9913d20efb2bccb29f61877b71d53807be
    Reviewed-on: https://code.wireshark.org/review/5794
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  b56d4d0   Clean up the "unknown per-packet encapsulation" message.
    adds  40f69b2   Use WTAP_ERR_UNSUPPORTED for input file stuff we can't handle.


Summary of changes:
 wiretap/5views.c              |    2 +-
 wiretap/erf.c                 |    2 +-
 wiretap/iptrace.c             |    4 ++--
 wiretap/k12text.l             |    6 +++---
 wiretap/lanalyzer.c           |    2 +-
 wiretap/libpcap.c             |    2 +-
 wiretap/netmon.c              |    8 ++++----
 wiretap/network_instruments.c |    4 ++--
 wiretap/netxray.c             |    6 +++---
 wiretap/ngsniffer.c           |   12 ++++++------
 wiretap/peektagged.c          |    2 +-
 wiretap/radcom.c              |    2 +-
 wiretap/snoop.c               |    6 +++---
 wiretap/visual.c              |    2 +-
 14 files changed, 30 insertions(+), 30 deletions(-)