Wireshark-commits: [Wireshark-commits] master-1.12 c3321fc: Use WTAP_ERR_UNSUPPORTED for input file

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 17 Dec 2014 06:26:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c3321fc131ee0f98ab3d12c70023e3fe6f2c89d7
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

c3321fc 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: I3617c5ff89d45a6bf00b00621de0d11f209bb3c0
    Reviewed-on: https://code.wireshark.org/review/5795
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c9a6d31   RDM: Mode verbose decoding of parameter IDs.     -> I don't see why they were uint8; ANSI E1.33 and ANSI E1.20 use uint16
    adds  c3321fc   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/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 +-
 13 files changed, 27 insertions(+), 27 deletions(-)