aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorUli Heilmeier <uh@heilmeier.eu>2018-02-18 11:27:13 +0100
committerAnders Broman <a.broman58@gmail.com>2018-02-18 12:18:28 +0000
commitbee04353b91cbec90c9377f74ceeefa374757c65 (patch)
tree7cac595e25a808fc7cf7c1a78632dc2d3702e41f /epan
parentaef93dba8c44c010a598cde60a5bf25226c25676 (diff)
DIS: fix Modulation paremter length
According to https://www.sisostds.org/DigitalLibrary.aspx?Command=Core_Download&EntryId=43048 table 5.2.1 modulation paremter is 8 bytes long (and not 16). Bug: 14441 Change-Id: I5d43411124e554721cfaa6c33561a04c91688aee Reviewed-on: https://code.wireshark.org/review/25866 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dis.c b/epan/dissectors/packet-dis.c
index 1bfae8815d..c21ef82d9d 100644
--- a/epan/dissectors/packet-dis.c
+++ b/epan/dissectors/packet-dis.c
@@ -5059,7 +5059,7 @@ static int dissect_DIS_FIELDS_MOD_PARAMS_JTIDS_MIDS(tvbuff_t *tvb, proto_tree *t
{
proto_tree *sub_tree;
- sub_tree = proto_tree_add_subtree(tree, tvb, offset, 16, ett_modulation_parameters, NULL, "Modulation Parameters");
+ sub_tree = proto_tree_add_subtree(tree, tvb, offset, 8, ett_modulation_parameters, NULL, "Modulation Parameters");
proto_tree_add_item(sub_tree, hf_dis_mod_param_ts_allocation_mode, tvb, offset, 1, ENC_BIG_ENDIAN);
offset++;