aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-13 10:02:19 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-13 18:03:06 +0000
commit47756e6304199bd27a19dd962cc5a0b1312d1aa8 (patch)
treebae0554cfe6da1365a1b68a93c012208fd96da60
parent9fcf004cdbb955f0959888aa29d91af2b203621f (diff)
Create the capture dissector hash table before registering capture dissectors.
Change-Id: I76efd64b4e6803db909203a66b35e1a50708ca90 Reviewed-on: https://code.wireshark.org/review/12591 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--epan/epan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 18d31dfce3..98815b5d6f 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -122,10 +122,10 @@ epan_init(void (*register_all_protocols_func)(register_cb cb, gpointer client_da
prefs_init();
expert_init();
packet_init();
+ capture_dissector_init();
proto_init(register_all_protocols_func, register_all_handoffs_func,
cb, client_data);
packet_cache_proto_handles();
- capture_dissector_init();
dfilter_init();
final_registration_all_protocols();
print_cache_field_handles();