aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-11-21 00:16:44 +0000
committerGuy Harris <guy@alum.mit.edu>2006-11-21 00:16:44 +0000
commitb0640ceefc0716b2b2b70a835dbbd97ad7fb2ec9 (patch)
tree6d1f51d3a2e6dc58bdfb1f0cc7f544ae08ba0547 /epan/epan.c
parent9e747bd46b1f02c2b636cfb2f55ff7165c1ad220 (diff)
Call guids_init() in epan_init(), so anything that needs libwireshark -
including dftest - will get the GUID table initialized (which anything that needs libwireshark needs to have happen, so dissectors can register GUIDs in that table). svn path=/trunk/; revision=19939
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
index fb0d67ef78..95b27a129c 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -82,6 +82,10 @@ epan_init(const char *plugin_dir, void (*register_all_protocols)(void),
report_failure_func = report_failure;
report_open_failure_func = report_open_failure;
report_read_failure_func = report_read_failure;
+
+ /* initialize the GUID to name mapping table */
+ guids_init();
+
except_init();
#ifdef HAVE_LIBGNUTLS
gnutls_global_init();