aboutsummaryrefslogtreecommitdiffstats
path: root/profiles
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2019-08-28 15:04:32 -0400
committerAnders Broman <a.broman58@gmail.com>2019-08-29 13:31:48 +0000
commit01d7793976cca50519c6609dc2a4ba391946f07b (patch)
treebbe7e8a2c863904dcac33459226b24882e7828f1 /profiles
parent862e2acdd94ca38e9310f4ec9509a1108346f2bc (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 'profiles')
0 files changed, 0 insertions, 0 deletions