aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis/packet-regreqmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/docsis/packet-regreqmp.c')
-rw-r--r--plugins/docsis/packet-regreqmp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/docsis/packet-regreqmp.c b/plugins/docsis/packet-regreqmp.c
index d3a776a5c2..668e63dbbd 100644
--- a/plugins/docsis/packet-regreqmp.c
+++ b/plugins/docsis/packet-regreqmp.c
@@ -52,7 +52,7 @@ dissect_regreqmp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
{
proto_item *it;
- proto_tree *regreqmp_tree;
+ proto_tree *regreqmp_tree = NULL;
tvbuff_t *next_tvb;
col_set_str(pinfo->cinfo, COL_INFO, "REG-REQ-MP Message:");
@@ -66,10 +66,10 @@ dissect_regreqmp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_number_of_fragments, tvb, 2, 1, FALSE);
proto_tree_add_item (regreqmp_tree, hf_docsis_regreqmp_fragment_sequence_number, tvb, 3, 1, FALSE);
- /* Call Dissector for Appendix C TLV's */
- next_tvb = tvb_new_subset_remaining (tvb, 4);
- call_dissector (docsis_tlv_handle, next_tvb, pinfo, regreqmp_tree);
}
+ /* Call Dissector for Appendix C TLV's */
+ next_tvb = tvb_new_subset_remaining (tvb, 4);
+ call_dissector (docsis_tlv_handle, next_tvb, pinfo, regreqmp_tree);
}