aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nisplus.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-19 03:17:44 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-19 03:17:44 +0000
commit30769113302a3e8b8197d14f5d2873020f734bcd (patch)
tree5d4eb5c243515cc0bf128f763d68a574ac3b2f76 /epan/dissectors/packet-nisplus.c
parenta4c6b989be825ee1c6050ea554a3797252d0f5fe (diff)
For fields of type FT_ABSOLUTE_TIME, have the "display" value be one of
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL == (int)BASE_NONE, so there's no source or binary compatiblity issue, although we might want to eliminate BASE_NONE at some point and have the BASE_ values used with integral types start at 0, so that you can't specify BASE_NONE for an integral field. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31319 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nisplus.c')
-rw-r--r--epan/dissectors/packet-nisplus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-nisplus.c b/epan/dissectors/packet-nisplus.c
index 6b3224167c..20c6b9d9d2 100644
--- a/epan/dissectors/packet-nisplus.c
+++ b/epan/dissectors/packet-nisplus.c
@@ -1688,11 +1688,11 @@ proto_register_nis(void)
NULL, 0, "Name Of Group Member", HFILL }},
{ &hf_nisplus_object_ctime, {
- "ctime", "nisplus.ctime", FT_ABSOLUTE_TIME, BASE_NONE,
+ "ctime", "nisplus.ctime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "Time Of Creation", HFILL }},
{ &hf_nisplus_object_mtime, {
- "mtime", "nisplus.mtime", FT_ABSOLUTE_TIME, BASE_NONE,
+ "mtime", "nisplus.mtime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "Time Last Modified", HFILL }},
{ &hf_nisplus_ib_flags, {
@@ -1736,7 +1736,7 @@ proto_register_nis(void)
NULL, 0, "Directory To Dump", HFILL }},
{ &hf_nisplus_dump_time, {
- "time", "nisplus.dump.time", FT_ABSOLUTE_TIME, BASE_NONE,
+ "time", "nisplus.dump.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "From This Timestamp", HFILL }},
{ &hf_nisplus_dummy, {
@@ -1744,7 +1744,7 @@ proto_register_nis(void)
NULL, 0, NULL, HFILL }},
{ &hf_nisplus_ping_time, {
- "time", "nisplus.ping.time", FT_ABSOLUTE_TIME, BASE_NONE,
+ "time", "nisplus.ping.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "Timestamp Of The Transaction", HFILL }},
{ &hf_nisplus_ping_dir, {
@@ -1772,7 +1772,7 @@ proto_register_nis(void)
NULL, 0, "Log Entry", HFILL }},
{ &hf_nisplus_log_time, {
- "time", "nisplus.log.time", FT_ABSOLUTE_TIME, BASE_NONE,
+ "time", "nisplus.log.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "Time Of Log Entry", HFILL }},
{ &hf_nisplus_log_type, {