aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-03-19 20:59:42 -0400
committerAnders Broman <a.broman58@gmail.com>2015-03-20 05:30:52 +0000
commite7fd1bfdf75a76c1d39f9ba809a40e3c0859c7fa (patch)
treeba351512fefa11a51d9fa23a9ee1ccd9865269be /epan/epan.c
parent019c3af0b1a1720a83b3b174649ba8837156ce09 (diff)
Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs.
Change-Id: I4ec48067e9ca2cbe88e1cf2e6c9dc1e382379221 Reviewed-on: https://code.wireshark.org/review/7767 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/epan.c')
-rw-r--r--epan/epan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 50cd80b7bc..4fb797dbd7 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -47,6 +47,7 @@
#include "oids.h"
#include "wmem/wmem.h"
#include "expert.h"
+#include "print.h"
#ifdef HAVE_LUA
#include <lua.h>
@@ -118,6 +119,7 @@ epan_init(void (*register_all_protocols_func)(register_cb cb, gpointer client_da
packet_cache_proto_handles();
dfilter_init();
final_registration_all_protocols();
+ print_cache_field_handles();
expert_packet_init();
#ifdef HAVE_LUA
wslua_init(cb, client_data);