summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-nfs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-12-19 03:17:44 +0000
committerGuy Harris <guy@alum.mit.edu>2009-12-19 03:17:44 +0000
commit8e236e55defb5555eb3dde620d49e3a67f74ad4b (patch)
tree5d4eb5c243515cc0bf128f763d68a574ac3b2f76 /epan/dissectors/packet-nfs.c
parent220054bd43730e0a85ab04d9e3f495cefe08703f (diff)
downloadwireshark-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-nfs.c')
-rw-r--r--epan/dissectors/packet-nfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index 72f0219bea..24e3d188ba 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -10787,7 +10787,7 @@ proto_register_nfs(void)
NULL, 0, NULL, HFILL }},
{ &hf_nfs_atime, {
- "atime", "nfs.atime", FT_ABSOLUTE_TIME, BASE_NONE,
+ "atime", "nfs.atime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "Access Time", HFILL }},
{ &hf_nfs_atime_sec, {
@@ -10803,7 +10803,7 @@ proto_register_nfs(void)
NULL, 0, "Access Time, Micro-seconds", HFILL }},
{ &hf_nfs_mtime, {
- "mtime", "nfs.mtime", FT_ABSOLUTE_TIME, BASE_NONE,
+ "mtime", "nfs.mtime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "Modify Time", HFILL }},
{ &hf_nfs_mtime_sec, {
@@ -10819,7 +10819,7 @@ proto_register_nfs(void)
NULL, 0, "Modify Time, Micro-seconds", HFILL }},
{ &hf_nfs_ctime, {
- "ctime", "nfs.ctime", FT_ABSOLUTE_TIME, BASE_NONE,
+ "ctime", "nfs.ctime", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
NULL, 0, "Creation Time", HFILL }},
{ &hf_nfs_ctime_sec, {