diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-08-13 22:08:30 +0200 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2018-08-13 22:17:26 +0000 |
commit | 91ac005644fbf02657482fb64211dc3ac6a3abe4 (patch) | |
tree | 875bad11266cd69d2fe7270bce7a0b707d7dba6d /epan/dissectors/packet-dxl.c | |
parent | 5bcbc78a91b0db70185f12bf35f4ec46bfa32aac (diff) |
dxl: get msgpack handle in the proper place.
Change-Id: Ia777e89a9633310ad64c582acddf5fe39fb7fba6
Reviewed-on: https://code.wireshark.org/review/29127
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dxl.c')
-rw-r--r-- | epan/dissectors/packet-dxl.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dxl.c b/epan/dissectors/packet-dxl.c index 8a8d5f9117..17c185cfe0 100644 --- a/epan/dissectors/packet-dxl.c +++ b/epan/dissectors/packet-dxl.c @@ -20,6 +20,7 @@ #include <epan/expert.h> void proto_register_dxl(void); +void proto_reg_handoff_dxl(void); static int proto_dxl = -1; @@ -106,6 +107,11 @@ static int dissect_dxl(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, void return offset; } +void proto_reg_handoff_dxl(void) +{ + msgpack_handle = find_dissector("msgpack"); +} + void proto_register_dxl(void) { expert_module_t* expert_dxl; @@ -135,8 +141,6 @@ void proto_register_dxl(void) expert_dxl = expert_register_protocol(proto_dxl); expert_register_field_array(expert_dxl, ei, array_length(ei)); - - msgpack_handle = find_dissector("msgpack"); } /* |