Ethereal-dev: Re: [Ethereal-dev] packet-nfs.c patch for timestamps

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 14 Sep 2001 01:24:08 -0700
On Thu, Sep 13, 2001 at 03:14:23PM -0700, Guy Harris wrote:
> > Small patch attached which makes the NFS dissector display dates
> > properly when dissecting timestamps.
> 
> It also throws away the 3 least significant digits in NFSv3, as V3
> timestamps have nanosecond resolution.
> 
> Perhaps we should make FT_{ABSOLUTE,RELATIVE,DELTA}_TIME fields inside
> Ethereal have nanosecond resolution, rather than microsecond resolution.

...which is what I did.

I modified your patch to work with that change, and made "nfs.dtime" an
FT_RELATIVE_TIME field and uncommented the code that put it into the
protocol tree, and checked in the resulting patch.