ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master-2.6 541fa17: tshark: Allow exporting of PDUs to stdou

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 11 Aug 2018 19:28:11 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=541fa17a34b847366901a98d7e88a8a7026afaf8
Submitter: "Pascal Quantin <pascal.quantin@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

541fa17 by Vasil Velichkov (vvvelichkov@xxxxxxxxx):

    tshark: Allow exporting of PDUs to stdout
    
    The following command will export the PDUs to stdout
    tshark -r ./test.pcapng -U "OSI layer 3" -w -
    
    Change-Id: Idddded6bfcac458d82cdc033babc7546b67f7327
    Reviewed-on: https://code.wireshark.org/review/28919
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit ad145baeee9e43616b23539e8cdd90aaba0088eb)
    Reviewed-on: https://code.wireshark.org/review/29049
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  7387928   Make a routine static that's not used outside its source file.
     add  541fa17   tshark: Allow exporting of PDUs to stdout


Summary of changes:
 tshark.c            |  9 +++++++--
 ui/tap_export_pdu.c | 12 +++++++++---
 2 files changed, 16 insertions(+), 5 deletions(-)