aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis/packet-regrspmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/docsis/packet-regrspmp.c')
-rw-r--r--plugins/docsis/packet-regrspmp.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/docsis/packet-regrspmp.c b/plugins/docsis/packet-regrspmp.c
index 8ec78a05fc..2c1a840190 100644
--- a/plugins/docsis/packet-regrspmp.c
+++ b/plugins/docsis/packet-regrspmp.c
@@ -55,22 +55,22 @@ dissect_regrspmp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
proto_item *it;
proto_tree *regrspmp_tree = NULL;
tvbuff_t *next_tvb;
-
-
-
-
+
+
+
+
col_set_str(pinfo->cinfo, COL_INFO, "REG-RSP-MP Message:");
-
+
if (tree)
{
it = proto_tree_add_protocol_format (tree, proto_docsis_regrspmp, tvb, 0, -1,"REG-RSP-MP Message");
regrspmp_tree = proto_item_add_subtree (it, ett_docsis_regrspmp);
-
+
proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_sid, tvb, 0, 2, ENC_BIG_ENDIAN);
proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_response, tvb, 2, 1, ENC_BIG_ENDIAN);
proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_number_of_fragments, tvb, 3, 1, ENC_BIG_ENDIAN);
proto_tree_add_item (regrspmp_tree, hf_docsis_regrspmp_fragment_sequence_number, tvb, 4, 1, ENC_BIG_ENDIAN);
-
+
}
/* Call Dissector for Appendix C TLV's */
next_tvb = tvb_new_subset_remaining (tvb, 5);
@@ -124,11 +124,11 @@ proto_register_docsis_regrspmp (void)
proto_docsis_regrspmp =
proto_register_protocol ("DOCSIS Registration Response Multipart",
"DOCSIS Reg-Rsp-Mp", "docsis_regrspmp");
-
+
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array (proto_docsis_regrspmp, hf, array_length (hf));
proto_register_subtree_array (ett, array_length (ett));
-
+
register_dissector ("docsis_regrspmp", dissect_regrspmp, proto_docsis_regrspmp);
}
@@ -141,7 +141,7 @@ void
proto_reg_handoff_docsis_regrspmp (void)
{
dissector_handle_t docsis_regrspmp_handle;
-
+
docsis_tlv_handle = find_dissector ("docsis_tlv");
docsis_regrspmp_handle = find_dissector ("docsis_regrspmp");
dissector_add_uint ("docsis_mgmt", 45, docsis_regrspmp_handle);