diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-10-20 23:22:53 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-10-20 23:22:53 +0000 |
commit | fd2d2df09f16a93e8cbbeb486d95985333e1d7b1 (patch) | |
tree | 0a77204b8b95e08cbe212b3a30aa923da9e8efb8 /gtk/airpcap_dlg.c | |
parent | ca3d2d22e0a6bf0a51a46426c71346c866bb1050 (diff) | |
download | wireshark-fd2d2df09f16a93e8cbbeb486d95985333e1d7b1.tar.gz |
AirPcap fixes from Giorgio Tino:
1) When choosing to Merge, Import or Keep decryption keys, key lists will be saved to the preferences file AND into the registry.
2) Now if you check/uncheck the WEP deccryption checkbox in the Preferences..., the AirPcap toolbar will be modified as well.
svn path=/trunk/; revision=19646
Diffstat (limited to 'gtk/airpcap_dlg.c')
-rw-r--r-- | gtk/airpcap_dlg.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/airpcap_dlg.c b/gtk/airpcap_dlg.c index 8cd7cc2fd6..1a50de2c7a 100644 --- a/gtk/airpcap_dlg.c +++ b/gtk/airpcap_dlg.c @@ -3308,6 +3308,9 @@ n_merged_keys = g_list_length(merged_list); /* Set up this new list as default for Wireshark and Adapters... */ airpcap_save_decryption_keys(merged_list,airpcap_if_list); +/* Write the preferences to the preferences file */ +write_prefs_to_file(); + free_key_list(wireshark_keys); gtk_widget_destroy(keys_check_w); @@ -3372,6 +3375,9 @@ n_merged_keys = g_list_length(merged_list); /* Set up this new list as default for Wireshark and Adapters... */ airpcap_save_decryption_keys(merged_list,airpcap_if_list); +/* Write the preferences to the preferences file */ +write_prefs_to_file(); + free_key_list(wireshark_keys); gtk_widget_destroy(keys_check_w); |