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 /debian | |
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 'debian')
-rw-r--r-- | debian/libwireshark0.symbols | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/libwireshark0.symbols b/debian/libwireshark0.symbols index 5bdaf28bd1..946cf6c451 100644 --- a/debian/libwireshark0.symbols +++ b/debian/libwireshark0.symbols @@ -1239,6 +1239,7 @@ libwireshark.so.0 libwireshark0 #MINVER# proto_tree_add_item_ret_display_string_and_length@Base 3.1.0 proto_tree_add_item_ret_int@Base 1.99.6 proto_tree_add_item_ret_length@Base 2.1.0 + proto_tree_add_item_ret_time_string@Base 3.1.1 proto_tree_add_item_ret_string@Base 2.1.0 proto_tree_add_item_ret_string_and_length@Base 2.1.0 proto_tree_add_item_ret_uint@Base 1.99.6 |