ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 7374] Update interface lists on interface add/removal

Date: Sun, 24 Jun 2012 13:31:05 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7374

--- Comment #16 from Michael Tüxen <tuexen@xxxxxxxxxxxxx> 2012-06-24 13:31:05 PDT ---
(In reply to comment #15)
> (In reply to comment #14)
> > > There should probably be a "refresh" button in:
> > > 
> > >     the "Capture Interfaces" window (popped up by Capture -> Interfaces);
> > > 
> > >     the "Capture Options" window (not just the "Manage Interfaces"/"Add new
> > > interfaces" window);
> > > and either a "refresh" button or a menu item under "Capture" for the interface
> > > list in the welcome screen.
> > 
> > With the hotplug code in place we should only need this for platforms that lack
> > the hotplug event support.
> 
> About the only other reason would be if, for example, the system weren't
> properly set up to allow dumpcap access to capture devices and you changed that
> while Wireshark was running - but that's also a rare operation.
Which is exactly my main use case of updating the list of interfaces...

Best regards
Michael
> 
> > IMO device refresh is a rare operation so we
> > shouldn't waste GUI space in all the dialogs. A "refresh interfaces" menu item
> > in the capture menu perhaps?
> 
> Sounds good.
> 
> > > The "Refresh" buttons/menu items, and OS "interface was added"/"interface was
> > > removed" indications, should cause *all* current interface lists being
> > > displayed to be updated (even if there's more than one of them being
> > > displayed).
> > 
> > This is how it works now (if I didn't forget something).
> 
> OK, I'll check that out.

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