ieee1905: Add missing offset increment

In dissect_unassociated_sta_link_metric_response, offset wasn't being
incremented after sta_count was read. The same byte was being read as
the first octet of the MAC address.
This commit is contained in:
Okan Palaz 2021-10-21 11:09:38 +03:00 committed by Wireshark GitLab Utility
parent a8f1b4f12c
commit 98c0b5ad62
1 changed files with 1 additions and 0 deletions

View File

@ -3867,6 +3867,7 @@ dissect_unassociated_sta_link_metric_response(tvbuff_t *tvb, packet_info *pinfo
sta_count = tvb_get_guint8(tvb, offset);
proto_tree_add_item(tree, hf_ieee1905_unassoc_sta_link_metric_sta_count,
tvb, offset, 1, ENC_NA);
offset++;
sta_list = proto_tree_add_subtree(tree, tvb, offset, sta_count * 12,
ett_unassoc_sta_link_metric_list, NULL,