Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14272
"the issue is that tvbparse API is used to parse through all of the parameters, so they don't have their own hf_ variables to do things like assign "human readable" values (and really makes filtering very difficult)"
Formatted for the tree. Populated as UINT32 for column.
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob;f=epan/dissectors/packet-ntp.c

1288         proto_tree_add_uint_format_value(ntp_tree, hf_ntp_rootdispersion, tvb, 8, 4,
1289                 rootdispersion, "%8.6f seconds", rootdispersion_double);


2660                 { &hf_ntp_rootdispersion, {
2661                         "Root Dispersion", "ntp.rootdispersion", FT_UINT32, BASE_DEC,
2662                         NULL, 0, "Total dispersion to the reference clock", HFILL }},