aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afs.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-01-19 21:32:45 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-01-19 21:32:45 +0000
commitc7145ef52b7ee0f9adc68f62168b93cadb8925f5 (patch)
tree2d76c2c6db18111d6932e9418d743ca6a452ab12 /epan/dissectors/packet-afs.c
parenta61043c1b69ce2c6d5d0ccf5416619047451bbe8 (diff)
I'm pretty sure time_s and time_ns don't come from the same 4 bytes.
svn path=/trunk/; revision=27269
Diffstat (limited to 'epan/dissectors/packet-afs.c')
-rw-r--r--epan/dissectors/packet-afs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-afs.c b/epan/dissectors/packet-afs.c
index 2fc3cdc080..c8b9325261 100644
--- a/epan/dissectors/packet-afs.c
+++ b/epan/dissectors/packet-afs.c
@@ -395,7 +395,7 @@ static gint ett_afs_vldb_flags = -1;
#define OUT_TIMESTAMP(field) \
{ nstime_t ts; \
ts.secs = tvb_get_ntohl(tvb, offset); \
- ts.nsecs = tvb_get_ntohl(tvb, offset)*1000; \
+ ts.nsecs = tvb_get_ntohl(tvb, offset+4)*1000; \
proto_tree_add_time(tree,field, tvb,offset,2*sizeof(guint32),&ts); \
offset += 8; \
}