diff options
author | Michael Mann <mmann78@netscape.net> | 2019-08-28 15:04:32 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-08-29 13:31:48 +0000 |
commit | 01d7793976cca50519c6609dc2a4ba391946f07b (patch) | |
tree | bbe7e8a2c863904dcac33459226b24882e7828f1 /ws_version.h.in | |
parent | 862e2acdd94ca38e9310f4ec9509a1108346f2bc (diff) |
Add proto_tree_add_item_ret_time_string
A few dissectors need the functionality of adding a time field to a proto_tree
while also needing the "time to string" value (typically to show on a tree above).
The functionality to do "get value from tvb and convert to string" was being done
in packet-ntp.c.
Instead proto_tree_add_item_ret_time_string can be used with various encoding to
get the necessary functionality with less code duplication.
ENC_TIME_MIP6 was added as a result of the refactoring.
ABSOLUTE_TIME_NTP_UTC was added as another potential "base" type for time fields.
Change-Id: Ie460c33370b0af59ef60bdab893ce9d6eb23b94f
Reviewed-on: https://code.wireshark.org/review/34390
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ws_version.h.in')
0 files changed, 0 insertions, 0 deletions