summaryrefslogtreecommitdiff
path: root/epan/epan.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-06-12 12:28:02 -0400
committerAnders Broman <a.broman58@gmail.com>2016-06-13 17:06:38 +0000
commit04b82a7dc971597be958ba902bcf51dc32189305 (patch)
tree2b096991993a4070df224ca22b440eba94f037c3 /epan/epan.c
parente2e84563eeb1e7b9add817d2b0c39656fab297d5 (diff)
downloadwireshark-04b82a7dc971597be958ba902bcf51dc32189305.tar.gz
Convert AT_SS7PC to a "dissector address type"
The formatting of the address type is determined by a preference in packet-mtp3.c, so just make MTP3 register the address type. Use address_type_get_by_name in other dissectors (and export_pdu) to use the address type. Change-Id: Ifb32d7de27aeaa23cee8e803e25ffb3c905547b5 Reviewed-on: https://code.wireshark.org/review/15856 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 8f2a4d4962..0927172570 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -53,6 +53,7 @@
#include "expert.h"
#include "print.h"
#include "capture_dissectors.h"
+#include "exported_pdu.h"
#ifdef HAVE_LUA
#include <lua.h>
@@ -130,6 +131,7 @@ epan_init(void (*register_all_protocols_func)(register_cb cb, gpointer client_da
final_registration_all_protocols();
print_cache_field_handles();
expert_packet_init();
+ export_pdu_init();
#ifdef HAVE_LUA
wslua_init(cb, client_data);
#endif