diff options
Diffstat (limited to 'wiretap/airopeek9.c')
-rw-r--r-- | wiretap/airopeek9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/airopeek9.c b/wiretap/airopeek9.c index 8cc276f54a..2eee7f5f76 100644 --- a/wiretap/airopeek9.c +++ b/wiretap/airopeek9.c @@ -509,8 +509,8 @@ static gboolean airopeekv9_read(wtap *wth, int *err, gchar **err_info, t *= 1.0e-9; t -= TIME_FIXUP_CONSTANT; - wth->phdr.ts.tv_sec = (time_t) t; - wth->phdr.ts.tv_usec = (guint32) ((t - wth->phdr.ts.tv_sec)*1000000); + wth->phdr.ts.secs = (time_t) t; + wth->phdr.ts.nsecs = (guint32) ((t - wth->phdr.ts.secs)*1000000000); switch (wth->file_encap) { |