aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-01-13 06:34:07 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-01-13 06:34:07 +0000
commit160d5ad55f23a4b6b3727263d49a4d222de628ee (patch)
tree9149c7d763281d442b4d13d5e1ce00c1a602cb23 /plugins
parent21c58470e4b02f2ad633f7017a335c73e977cb18 (diff)
From Yi Zhang:
DSG_DA_TO_DSID_ASSOCIATION_DA/DSID is not correctly parsed in DOCSIS MDD packet. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6725 svn path=/trunk/; revision=40450
Diffstat (limited to 'plugins')
-rw-r--r--plugins/docsis/packet-mdd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/docsis/packet-mdd.c b/plugins/docsis/packet-mdd.c
index 69917fa1ed..868f8dcb23 100644
--- a/plugins/docsis/packet-mdd.c
+++ b/plugins/docsis/packet-mdd.c
@@ -507,10 +507,10 @@ dissect_mdd (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
sublength = tvb_get_guint8 (tvb, subpos + 1);
switch(subtype) {
case DSG_DA_TO_DSID_ASSOCIATION_DA:
- proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_da, tvb, subpos, 6, ENC_BIG_ENDIAN);
+ proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_da, tvb, subpos + 2, 6, ENC_BIG_ENDIAN);
break;
case DSG_DA_TO_DSID_ASSOCIATION_DSID:
- proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_dsid, tvb, subpos, 3, ENC_BIG_ENDIAN);
+ proto_tree_add_item (tlv_tree, hf_docsis_mdd_dsg_da_to_dsid_association_dsid, tvb, subpos + 2, 3, ENC_BIG_ENDIAN);
break;
}
subpos += sublength + 2;
@@ -706,7 +706,7 @@ void proto_register_docsis_mdd (void)
},
{&hf_docsis_mdd_dsg_da_to_dsid_association_da,
{"Destination Address", "docsis_mdd.dsg_da_to_dsid_association_da",
- FT_UINT8, BASE_HEX, NULL, 0x0,
+ FT_ETHER, BASE_NONE, NULL, 0x0,
"Mdd DSG DA to DSID association Destination Address", HFILL}
},
{&hf_docsis_mdd_dsg_da_to_dsid_association_dsid,