diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-09-20 00:11:28 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2018-09-20 05:06:07 +0000 |
commit | 71c7798f8ae40e90a211a74cde8d90cc31bdeaa8 (patch) | |
tree | 313717d9115b220e4628bf1ea5bac97c215aeb66 /epan/dissectors/packet-sprt.c | |
parent | 081c72344cc39274f496ebc2eefd879db1e93c26 (diff) |
epan: fix various misannotations of VALS/RVALS/VALS64/TFS
No functional change, just using the correct macro for value_strings.
Other fixes: Taking the address of the first element of an array gives
the same address as the array itself. An array of a structure with a
single element is the same as the single element itself (packet-sprt.c).
Change-Id: I08bc9de49fbd1659a6700ace863e5f05144c7b3e
Reviewed-on: https://code.wireshark.org/review/29752
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-sprt.c')
-rw-r--r-- | epan/dissectors/packet-sprt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sprt.c b/epan/dissectors/packet-sprt.c index 61c78683e9..c25081c26a 100644 --- a/epan/dissectors/packet-sprt.c +++ b/epan/dissectors/packet-sprt.c @@ -680,8 +680,8 @@ static const range_string sprt_payload_dlci1[] = { { 0, 0, NULL } }; -static const true_false_string sprt_payload_ea_bit[] = { - { "Last octet of address field", "Another octet of address field follows" } +static const true_false_string sprt_payload_ea_bit = { + "Last octet of address field", "Another octet of address field follows" }; static const range_string sprt_payload_dlci2[] = { |