summaryrefslogtreecommitdiff
path: root/gtk/airpcap_dlg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2006-10-20 23:22:53 +0000
committerGerald Combs <gerald@wireshark.org>2006-10-20 23:22:53 +0000
commitfd2d2df09f16a93e8cbbeb486d95985333e1d7b1 (patch)
tree0a77204b8b95e08cbe212b3a30aa923da9e8efb8 /gtk/airpcap_dlg.c
parentca3d2d22e0a6bf0a51a46426c71346c866bb1050 (diff)
downloadwireshark-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.c6
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);