Wireshark-commits: [Wireshark-commits] master-2.6 c40590e: tshark: do not print packet information
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 12 Feb 2019 12:16:58 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c40590e66ef10d0cdcfe6f61b14c8b2538881835
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

c40590e by Peter Wu (peter@xxxxxxxxxxxxx):

    tshark: do not print packet information when using -w without libpcap
    
    The test_tshark_io_direct_stdout test was failing because the command
    "tshark -r test/captures/dhcp.pcap -w - > some.pcap" produced a corrupt
    capture file which has the packet information appended at the end.
    
    Change-Id: I1a79e98f1475c29d7dad3ff90d4cb689f46b0e57
    Fixes: 57389a0c69 ("make tshark compile and work also when pcap is not available")
    Reviewed-on: https://code.wireshark.org/review/30668
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit cb9be3850da46ca1f706a00b16cdb65a95ce66a0)
    Reviewed-on: https://code.wireshark.org/review/31986
    

Actions performed:

    from  e6fed1a   Qt: Fix Crash in empty Bluetooth windows
     add  c40590e   tshark: do not print packet information when using -w without libpcap


Summary of changes:
 tshark.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)