diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-12-19 03:17:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-12-19 03:17:44 +0000 |
commit | 8e236e55defb5555eb3dde620d49e3a67f74ad4b (patch) | |
tree | 5d4eb5c243515cc0bf128f763d68a574ac3b2f76 /epan/dissectors/packet-ndmp.c | |
parent | 220054bd43730e0a85ab04d9e3f495cefe08703f (diff) | |
download | wireshark-8e236e55defb5555eb3dde620d49e3a67f74ad4b.tar.gz |
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.
svn path=/trunk/; revision=31319
Diffstat (limited to 'epan/dissectors/packet-ndmp.c')
-rw-r--r-- | epan/dissectors/packet-ndmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c index e0932416ad..a6151d284b 100644 --- a/epan/dissectors/packet-ndmp.c +++ b/epan/dissectors/packet-ndmp.c @@ -3574,7 +3574,7 @@ proto_register_ndmp(void) NULL, 0, "Reply Sequence number for NDMP PDU", HFILL }}, { &hf_ndmp_timestamp, { - "Time", "ndmp.timestamp", FT_ABSOLUTE_TIME, BASE_NONE, + "Time", "ndmp.timestamp", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "Timestamp for this NDMP PDU", HFILL }}, { &hf_ndmp_msgtype, { @@ -4130,15 +4130,15 @@ proto_register_ndmp(void) TFS(&tfs_ndmp_file_invalid_group), 0x00000004, "invalid_group", HFILL, }}, { &hf_ndmp_file_mtime, { - "mtime", "ndmp.file.mtime", FT_ABSOLUTE_TIME, BASE_NONE, + "mtime", "ndmp.file.mtime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "Timestamp for mtime for this file", HFILL }}, { &hf_ndmp_file_atime, { - "atime", "ndmp.file.atime", FT_ABSOLUTE_TIME, BASE_NONE, + "atime", "ndmp.file.atime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "Timestamp for atime for this file", HFILL }}, { &hf_ndmp_file_ctime, { - "ctime", "ndmp.file.ctime", FT_ABSOLUTE_TIME, BASE_NONE, + "ctime", "ndmp.file.ctime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0, "Timestamp for ctime for this file", HFILL }}, { &hf_ndmp_file_owner, { |