aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAdrian Simionov <daniel.simionov@gmail.com>2017-04-30 22:10:12 +1000
committerMichael Mann <mmann78@netscape.net>2017-05-05 12:31:42 +0000
commit4302a0ad650627b4c0e6f48a90ed642939b14841 (patch)
tree8737136bdaa9b17425b7b8ed681fbacd5bd56dc4 /plugins
parentae8b18d6183538a4ffd5d18588be1b5e1a058206 (diff)
[docsis->dccrsp] Resolve confirmation code
Change-Id: I1f863eea427529537df004e9782311d5c69ed4bd Reviewed-on: https://code.wireshark.org/review/21505 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/docsis/packet-dccrsp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/docsis/packet-dccrsp.c b/plugins/docsis/packet-dccrsp.c
index d33cd2ba5b..84d317bced 100644
--- a/plugins/docsis/packet-dccrsp.c
+++ b/plugins/docsis/packet-dccrsp.c
@@ -57,6 +57,9 @@ static expert_field ei_docsis_dccrsp_tlvlen_bad = EI_INIT;
static dissector_handle_t docsis_dccrsp_handle;
+/* Defined in packet-tlv.c */
+extern value_string docsis_conf_code[];
+
/* Dissection */
static void
dissect_dccrsp_cm_jump_time (tvbuff_t * tvb, packet_info* pinfo, proto_tree * tree, int start, guint16 len)
@@ -181,7 +184,7 @@ proto_register_docsis_dccrsp (void)
{
"Confirmation Code",
"docsis_dccrsp.conf_code",
- FT_UINT8, BASE_DEC, NULL, 0x0,
+ FT_UINT8, BASE_DEC, VALS (docsis_conf_code), 0x0,
NULL,
HFILL
}