diff options
Diffstat (limited to 'sharkd.c')
-rw-r--r-- | sharkd.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -201,10 +201,8 @@ main(int argc, char *argv[]) goto clean_exit; } - /* load the decode as entries of this profile */ - load_decode_as_entries(); - - prefs_p = read_prefs(); + /* Load libwireshark settings from the current profile. */ + prefs_p = epan_load_settings(); read_filter_list(CFILTER_LIST); @@ -213,12 +211,6 @@ main(int argc, char *argv[]) g_free(err_msg); } - /* - * Read the files that enable and disable protocols and heuristic - * dissectors. - */ - read_enabled_and_disabled_lists(); - cap_file_init(&cfile); /* Notify all registered modules that have had any of their preferences |