diff options
author | dsrsupport <eugene.exarevsky@dsr-company.com> | 2016-07-08 11:37:31 +0300 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2016-07-08 08:36:24 +0000 |
commit | 3cf104840640a5727afd944b58ce22d0c2503e52 (patch) | |
tree | 4258ecada51fdceb4ce81785fb87e234b8f2f5ed /epan | |
parent | 0b5332521c37fec6518f87c6a6c93d147d060c35 (diff) |
ZigBee GreenPower: Fix GP Pairing command dissection.
Fix length of Sink GroupID in GP Pairing command.
Change-Id: I5905812456faa0181ee1cc13824a12ce2583d4e0
Reviewed-on: https://code.wireshark.org/review/16335
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-zbee-zcl-general.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-zbee-zcl-general.c b/epan/dissectors/packet-zbee-zcl-general.c index 8570a6bb3e..cd4aac6d0c 100644 --- a/epan/dissectors/packet-zbee-zcl-general.c +++ b/epan/dissectors/packet-zbee-zcl-general.c @@ -13148,7 +13148,7 @@ dissect_zbee_zcl_gp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d if ((options & ZBEE_ZCL_GP_PAIRING_OPTION_REMOVE_GPD) == 0 && (options & ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE) != ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE && (options & ZBEE_ZCL_GP_PAIRING_OPTION_COMMUNICATION_MODE) != 0) { - proto_tree_add_item(tree, hf_zbee_gp_sink_group_id, tvb, offset, 4, ENC_LITTLE_ENDIAN); + proto_tree_add_item(tree, hf_zbee_gp_sink_group_id, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; } if (options & ZBEE_ZCL_GP_PAIRING_OPTION_ADD_SINK) { |