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

Date: Sat, 3 Sep 2011 12:55:52 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2931

--- Comment #14 from Stig Bjørlykke <stig@xxxxxxxxxxxxx> 2011-09-03 12:55:51 PDT ---
(In reply to comment #13)
> Please report any bugs if found.

Adding new "Decode as" does not add anything to dissector_reset_list_main, so
the decode-as is not reset when changing profile.  If saving the decode-as you
have to change to another profile then back to the profile used when saving to
get the entries added, and then it works changing profile.

Maybe we always should clear the decode-as when changing profile and only use
the rules saved in the profile?  This way we don't have to keep a track in
dissector_reset_list_main.

You should put the call to load_decode_as_entries() into
read_configuration_files()

-- 
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.