aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h223.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-h223.c')
-rw-r--r--epan/dissectors/packet-h223.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h223.c b/epan/dissectors/packet-h223.c
index d62a46b0d8..ac22377901 100644
--- a/epan/dissectors/packet-h223.c
+++ b/epan/dissectors/packet-h223.c
@@ -122,6 +122,7 @@ static expert_field ei_h223_al2_crc = EI_INIT;
/* These are the handles of our subdissectors */
static dissector_handle_t data_handle;
static dissector_handle_t srp_handle;
+static dissector_handle_t h223_bitswapped;
static const fragment_items h223_mux_frag_items _U_ = {
&ett_h223_mux_fragment,
@@ -1653,7 +1654,7 @@ void proto_register_h223 (void)
expert_register_field_array(expert_h223, ei, array_length(ei));
register_dissector("h223", dissect_h223_circuit_data, proto_h223);
- register_dissector("h223_bitswapped", dissect_h223_bitswapped, proto_h223_bitswapped);
+ h223_bitswapped = register_dissector("h223_bitswapped", dissect_h223_bitswapped, proto_h223_bitswapped);
/* register our init routine to be called at the start of a capture,
to clear out our hash tables etc */
@@ -1666,7 +1667,6 @@ void proto_register_h223 (void)
void proto_reg_handoff_h223(void)
{
- dissector_handle_t h223_bitswapped = find_dissector("h223_bitswapped");
data_handle = find_dissector("data");
srp_handle = find_dissector("srp");