Ethereal-dev: Re: [Ethereal-dev] small fix for afs callback expires

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Fri, 17 Jan 2003 16:47:47 -0800
On Fri, Jan 17, 2003 at 01:50:02PM -0500, Jim Rees wrote:
> Ethereal version 0.9.5 has a small bug in the afs dissector.  Callback
> "expires" field is relative to the current time, but is treated as absolute
> by the dissector.  The following fix is not quite right, because it uses
> current time rather than the time the packet was generated, but it's better
> than what's there now.

So is "the current time" the time the packet was sent?  If so, the best
that Ethereal can do is use the time the packet was *received* as the
time base.

An alternative would be to report it as a relative time rather than
convert it to an absolute time.