aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-09-08 11:49:22 +0200
committerPeter Wu <peter@lekensteyn.nl>2018-09-10 09:27:34 +0000
commitad0de0ffbc9ed9e397d09e1398555d06d29439d2 (patch)
tree18acdf02c960d2de3cff6b8134be1cae43367a18 /dumpcap.c
parent7573f7dab49043bc6401b97a10439d9b9b6a291a (diff)
prefs,ui: properly migrate old filter expressions
When legacy filter expressions preferences are present, be sure to (1) save the dfilter_buttons file when updating the preferences file and (2) save the preferences file after updating the dfilter_buttons file. Without doing (1), the old buttons will be lost. Without (2), restarting Wireshark will result in duplicate buttons. Only write the files if the user actually made other changes to avoid breaking profiles by just opening Wireshark. Bug: 15114 Bug: 15121 Change-Id: I5b9417c34146c4450526781a20308c9c98fb44a1 Reviewed-on: https://code.wireshark.org/review/29488 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'dumpcap.c')
0 files changed, 0 insertions, 0 deletions