aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ldss.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2022-05-14 15:14:22 -0400
committerJohn Thacker <johnthacker@gmail.com>2022-05-14 15:14:22 -0400
commit1e7a60068018f746bea00426eb60e9dd59cad76d (patch)
tree650a8880bd860bb66e1a83708c2e26e70e1d7cd4 /epan/dissectors/packet-ldss.c
parenta98391e31605dfb4bf2b33bbd08e6fb153f803ea (diff)
proto: Fix display of BASE_UNIT_STRING for 64 bit fields in bitmask
When integer fields are displayed in the bitmask header item in proto_tree_add_bitmask_tree and hf->strings is set, only the string from the value_string is used, not the integer value, to save space. However, that means that BASE_UNIT_STRING fields have to be treated differently from all the other fields with hf->strings set. If not, then only the units are displayed instead of the number with the units. Fields based on 32 bit integers were already being handled correctly. Use that same logic for fields based on 64 bit integers. (See commit 24d991dab493d249167e91 for something similar.)
Diffstat (limited to 'epan/dissectors/packet-ldss.c')
0 files changed, 0 insertions, 0 deletions