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

Commits:

5315b31 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: I7977a9eceef9b72d2fd8d2ec7b0bb63a1b62be19
    Reviewed-on: https://code.wireshark.org/review/5796
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  12fd114   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  5315b31   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(-)