diff options
author | Martin Mathieson <martin.mathieson@keysight.com> | 2023-01-02 13:46:33 +0000 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2023-01-03 07:26:20 +0000 |
commit | dd8828014c2ac8375cb63f50034ab324c1965e00 (patch) | |
tree | b51611c52844d978a8c46fe4a64d29162a08bbe1 /epan/dissectors/packet-log3gpp.c | |
parent | 704eaa183953b216638918447292cb4133c505b7 (diff) |
Change some vals entries to equivalent common tfs
Diffstat (limited to 'epan/dissectors/packet-log3gpp.c')
-rw-r--r-- | epan/dissectors/packet-log3gpp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/epan/dissectors/packet-log3gpp.c b/epan/dissectors/packet-log3gpp.c index f402dc3dd8..192c027b99 100644 --- a/epan/dissectors/packet-log3gpp.c +++ b/epan/dissectors/packet-log3gpp.c @@ -65,11 +65,6 @@ typedef enum packet_direction_t DOWNLINK } packet_direction_t; -static const value_string direction_vals[] = { - { 0, "Uplink" }, - { 1, "Downlink" }, - { 0, NULL }, -}; /* Pseudo header functions*/ typedef gboolean (*pseudo_hdr_func_ptr_t) (char *, packet_info *pinfo, guint16, packet_direction_t); @@ -765,7 +760,7 @@ void proto_register_log3gpp(void) }, { &hf_log3gpp_direction, { "Direction", - "log3gpp.direction", FT_UINT8, BASE_DEC, VALS(direction_vals), 0x0, + "log3gpp.direction", FT_BOOLEAN, 8, TFS(&tfs_downlink_uplink), 0x0, "Frame direction (Uplink or Downlink)", HFILL } }, |