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 6c66a63: Dumpcap: Update our pipe closed logic.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 15 Nov 2018 16:52:49 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6c66a639d0dcbb4a0ce3d7334410e9a907d73944
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

6c66a63 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Dumpcap: Update our pipe closed logic.
    
    Check for pipe status only when we no longer have packets. This keeps us
    from flushing packets that we should have written.
    
    Change-Id: I714f52597da792a0b228b5e1a1dd3a993dc93681
    Reviewed-on: https://code.wireshark.org/review/30651
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  e6c6f99   nettrace: Parse IPv6 addresses.
     add  6c66a63   Dumpcap: Update our pipe closed logic.


Summary of changes:
 dumpcap.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)