Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 50433f4: Dumpcap: Move packet dequeueing code to a co

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 14 Nov 2018 04:59:31 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=50433f4b4dde42ce50b0e2d899671c2b2cef526d
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

50433f4 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Dumpcap: Move packet dequeueing code to a common routine.
    
    Dequeue and write packets in capture_loop_dequeue_packet. This ensures
    that we properly handle pcapng packets both inside our capture loop and
    after it's finished.
    
    Change-Id: Iacc980c90481b1378761eac83d8044aaddabfdc2
    Reviewed-on: https://code.wireshark.org/review/30609
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  0795c98   extcap: save debug flag and use it to activate ssh debug.
     add  50433f4   Dumpcap: Move packet dequeueing code to a common routine.


Summary of changes:
 dumpcap.c | 96 ++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 46 insertions(+), 50 deletions(-)