aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afs.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-01-19 21:32:45 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2009-01-19 21:32:45 +0000
commit7053dcedd5d74e07504a2515d7d5877c3075dc37 (patch)
tree2d76c2c6db18111d6932e9418d743ca6a452ab12 /epan/dissectors/packet-afs.c
parenta973c5c69e3323540d6a0e5bfb25523e43b5f313 (diff)
I'm pretty sure time_s and time_ns don't come from the same 4 bytes.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27269 f5534014-38df-0310-8fa8-9805f1628bb7
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; \
}