diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-28 22:08:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-28 22:08:50 +0000 |
commit | e38d83af1a6541c76f5ca01dcf4ed8c1d75e9624 (patch) | |
tree | ae239d6298871dd99dbca5ba81881890871efc8c | |
parent | 640a5e494aacb0e2ba91a758c364ae67705ff786 (diff) |
Set the nanoseconds value of time stamps to 0, rather than using
whatever random junk was in there.
svn path=/trunk/; revision=5276
-rw-r--r-- | packet-afp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-afp.c b/packet-afp.c index eb4828ef6c..fddee25eaf 100644 --- a/packet-afp.c +++ b/packet-afp.c @@ -2,7 +2,7 @@ * Routines for afp packet dissection * Copyright 2002, Didier Gautheron <dgautheron@magic.fr> * - * $Id: packet-afp.c,v 1.6 2002/04/28 21:53:31 guy Exp $ + * $Id: packet-afp.c,v 1.7 2002/04/28 22:08:50 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -676,6 +676,7 @@ print_date(proto_tree *tree,int id, tvbuff_t *tvb, gint offset) nstime_t tv; tv.secs = AD_DATE_TO_UNIX(date); + tv.nsecs = 0; proto_tree_add_time(tree, id, tvb, offset, 4, &tv); return date; |