Wireshark-bugs: [Wireshark-bugs] [Bug 7374] Update interface lists on interface add/removal
Date: Thu, 28 Jun 2012 02:04:20 -0700 (PDT)

--- Comment #27 from Pontus Fuchs <[email protected]> 2012-06-28 02:04:19 PDT ---
(In reply to comment #26)
> Comment on attachment 8672 [details]
> Improve capture dialog for device hot(un)plug
> "Improve capture dialog" patch checked in, with some fixes (e.g., don't clear
> "sc" before calling capture_stat_stop(), as doing so causes NULL to be passed
> to capture_stat_stop(), so it doesn't actually stop the dumpcap that's
> gathering the statistics and, at least on OS X, you eventually run out of BPF
> devices with the right modes), and with:

Good catch.

>     a Capture -> Refresh Interfaces menu item added;
>     a routine added to ui/gtk/main.c to re-fetch the interface list and update
> *all* the places that have interface lists showing;

Nice. The wireless toolbar is not updated. I'll fix that.

>     the "Refresh" button in the "Add New Interface"/"Manage Interfaces" window
> changed to call that routine as well.

Verified. Works fine.

Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.