aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-usb-com.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2021-12-04 23:43:02 -0500
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-12-05 14:11:32 +0000
commit8b8171d95217fb629cc23fd8004994ee7aa37b18 (patch)
tree9d3f5e708697103392fc069fb3f3ee09014e63a3 /epan/dissectors/packet-usb-com.c
parentadbaced04c8a252246a667aa4cfd660aa2823316 (diff)
ANSI A I/F: Retrieve stats correctly
The row number to lookup in the stat table is the index retrieved from my_try_val_to_str_idx, not the original message type. Ticks the counts in the correct rows of the stats table, and prevents failed assertions and program halt in stat_tap_ui.c when getting a message type with a number greater than the number of rows in the table.
Diffstat (limited to 'epan/dissectors/packet-usb-com.c')
0 files changed, 0 insertions, 0 deletions