Wireshark-commits: [Wireshark-commits] master-1.12 432bae9: Check for pcapng files when reading fro
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 9 Jul 2016 07:46:15 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=432bae94f8faf795d59f994a31b9e79935cbf29f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

432bae9 by Guy Harris (guy@xxxxxxxxxxxx):

    Check for pcapng files when reading from a pipe.
    
    That way, people don't get confused by an "Unrecognized libpcap format"
    error - it's *not* libpcap format!
    
    Also, improve *that* message to say "...or not libpcap data", and put a
    period at the end of the error messages.
    
    Change-Id: I175f9399fe99ce424f1d83596b7330e1fa5c0625
    Reviewed-on: https://code.wireshark.org/review/16349
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/16353
    

Actions performed:

    from  beee9a4   [Automatic update for 2016-07-03]
    adds  432bae9   Check for pcapng files when reading from a pipe.


Summary of changes:
 dumpcap.c               |   51 +++++++++++++++++++++++++++--------------------
 wiretap/pcapng.c        |    9 ---------
 wiretap/pcapng_module.h |    9 +++++++++
 3 files changed, 38 insertions(+), 31 deletions(-)