aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-v52.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-v52.c')
-rw-r--r--epan/dissectors/packet-v52.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-v52.c b/epan/dissectors/packet-v52.c
index 908c94af1a..9fa7435ead 100644
--- a/epan/dissectors/packet-v52.c
+++ b/epan/dissectors/packet-v52.c
@@ -2105,10 +2105,11 @@ dissect_v52_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
-static void
-dissect_v52(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+static int
+dissect_v52(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
{
dissect_v52_message(tvb, pinfo, tree);
+ return tvb_captured_length(tvb);
}
void
@@ -2403,7 +2404,7 @@ proto_register_v52(void)
proto_register_field_array (proto_v52, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
- register_dissector("v52", dissect_v52, proto_v52);
+ new_register_dissector("v52", dissect_v52, proto_v52);
}
/*