Wireshark-commits: [Wireshark-commits] master-2.6 c3eaf80: Libpcap may now say "The interface disap

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 01 Jul 2019 02:33:41 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c3eaf80b0e226532eb921738024a68c0de1b1a2d
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

c3eaf80 by Guy Harris (guy@xxxxxxxxxxxx):

    Libpcap may now say "The interface disappeared" if it did.
    
    A recent change to libpcap means that the error message if an interface
    disappears (e.g., removing a hot-pluggable device, or shutting down a
    PPP connection that was dynamically set up) is "The interface
    disappeared" rather than "The interface went down" - on FreeBSD,
    DragonFly BSD, OpenBSD, and Darwin-based OSes, capturing continues with
    no error if the interface is configured down, but either ENXIO or EIO
    (depending on the OS) is delivered if the interface disappears.
    
    Treat that error as another one to show the user without the "report
    this to the Wireshark developers" note.
    
    Change-Id: I477d87957ce30a52385f07f4b47a7824e3fca2c7
    Reviewed-on: https://code.wireshark.org/review/33790
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 8a4ce74ac9a3be8c752c1b405349d6083f76e657)
    Reviewed-on: https://code.wireshark.org/review/33792
    

Actions performed:

    from  10b0b3e   Update a comment, and shuffle tests.
     add  c3eaf80   Libpcap may now say "The interface disappeared" if it did.


Summary of changes:
 dumpcap.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)