Wireshark-bugs: [Wireshark-bugs] [Bug 2931] remember last choice of "Decode as ..."

Date: Fri, 26 Aug 2011 04:47:10 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2931

--- Comment #10 from Stig Bjørlykke <stig@xxxxxxxxxxxxx> 2011-08-26 04:47:09 PDT ---
(In reply to comment #9)
> I'm not quite sure with this. For example, if you look at the protocol
> preferences, there are also possibility to set certain TCP/UDP ports to certain
> protocol (c.f. SYNCHROPASOR, T.38, etc). Since this feature has a very similar
> purpose I would rather put that as preference. But of course if most people
> find it to be more suitable as profile, I would try to port it there.

Everything in the preferences is a part of the profile, so configured TCP/UDP
ports for certain protocols will/may change when changing profile.  That's why
I also want this feature to be a part of the profile.  You may want different
settings for different types of traffic, so changing profile is the easy way of
changing configuration.

It's just a matter of changing where to fetch the configuration from (in
get_persconffile_path()), and re-read configuration when changing profile (in
change_configuration_profile()).

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