forked from osmocom/wireshark
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:
parent
a8f1b4f12c
commit
98c0b5ad62
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue