Skip to content

Commit

Permalink
RTPS: UDPv4 Wan locator bitfied not dissected properly
Browse files Browse the repository at this point in the history
UDPv4 WAN locator bitfield was using the wrong offset thus the data
shown was not correct.
  • Loading branch information
ismaelrti authored and Wireshark GitLab Utility committed Jul 28, 2021
1 parent a1e05d0 commit 9b69d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epan/dissectors/packet-rtps.c
Original file line number Diff line number Diff line change
Expand Up @@ -3264,7 +3264,7 @@ static gint rtps_util_add_locator_t(proto_tree *tree, packet_info *pinfo, tvbuff
locator_port_size,
encoding,
&port);
flags = tvb_get_bits8(tvb, flags_offset, 4);
flags = tvb_get_gint8(tvb, flags_offset);
proto_tree_add_bitmask_value(
locator_tree,
tvb,
Expand Down

0 comments on commit 9b69d05

Please sign in to comment.