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 ad145ba: tshark: Allow exporting of PDUs to stdout

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 01 Aug 2018 13:05:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ad145baeee9e43616b23539e8cdd90aaba0088eb
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ad145ba 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>
    

Actions performed:

    from  f1e036b   Cast the result of g_realloc().
    adds  ad145ba   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(-)