Wireshark-commits: [Wireshark-commits] master-3.0 68e4f83: Libpcap may now say "The interface disap
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=68e4f8316eb6b2b57c1a0979f28638f25bb4eb2a
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
68e4f83 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 a23bd5550832b41b3f6f80cadfda6492b3d11b8b)
Reviewed-on: https://code.wireshark.org/review/33791
Actions performed:
from e32dbb3 Update a comment, and shuffle tests.
add 68e4f83 Libpcap may now say "The interface disappeared" if it did.
Summary of changes:
dumpcap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)