summaryrefslogtreecommitdiff
path: root/sharkd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sharkd.c')
-rw-r--r--sharkd.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sharkd.c b/sharkd.c
index 3b10e89f79..712e73117d 100644
--- a/sharkd.c
+++ b/sharkd.c
@@ -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