Wireshark-commits: [Wireshark-commits] master-2.4 da46e3b: Libpcap may now say "The interface disap

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

Commits:

da46e3b 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/33793
    

Actions performed:

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


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