Wireshark-commits: [Wireshark-commits] master e804e63: prefs: Reset prefs.unknown_colorfilters befo
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e804e63d4dc7fcf7893d32cd0c420f1736840aeb
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
e804e63 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
prefs: Reset prefs.unknown_colorfilters before reading colorfilters
Reset prefs.unknown_colorfilters in the beginning of read_filters_file()
to avoid a situation when the preference is set and never cleared.
This will end up with an error message in UI even when not having
unknown color filters.
Change-Id: I835dbc2a57f0be6889eb5bce250987dabd796e30
Reviewed-on: https://code.wireshark.org/review/29904
Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from a699fbd Add a mechanism to register aliases for preference modules.
add e804e63 prefs: Reset prefs.unknown_colorfilters before reading colorfilters
Summary of changes:
epan/color_filters.c | 2 ++
1 file changed, 2 insertions(+)