Wireshark-bugs: [Wireshark-bugs] [Bug 7380] Only use Hosts file or Address Resolution block for
Date: Sun, 8 Jul 2012 20:05:15 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7380

--- Comment #9 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2012-07-08 20:05:14 PDT ---
(In reply to comment #8)
> (In reply to comment #7)
> > Now it would be nice to be able to chose which file to use as the hosts file
> > :-)
> > e.g be able to have a set of hosts files and select the apropriate one for a
> > selected trace.
> Are you thinking a list of files in the preferences, but then a dropdrown
> whereever the "use external name resolvers" checkbox is to select a hosts file
> (from the list in preferences)?  Individually, I understood the need for each
> dialog that contains the "use external name resolvers" checkbox, but
> collectively it seemed a bit much.  Adding another control to some of those
> dialogs seems even more over the top and clunky.

I haven't really thought this trough ...
I think that we currently look for a file "hosts" in a predefined location
this should probably be made a new preference where you can select the file
name. So GUI wise unrelated to the changes made. 

A dropdown list with the available files would make it easy to use.

How about a tick box "use selectable hosts files" and then a dir with
hosts files which can be scanned and made into a drop down list. Unchecked
we retain the current behavior.

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