diff options
Diffstat (limited to 'wiretap/cosine.c')
-rw-r--r-- | wiretap/cosine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/cosine.c b/wiretap/cosine.c index 2b8138910c..e185ea9f7f 100644 --- a/wiretap/cosine.c +++ b/wiretap/cosine.c @@ -418,8 +418,8 @@ parse_cosine_rec_hdr(wtap *wth, const char *line, tm.tm_min = min; tm.tm_sec = sec; tm.tm_isdst = -1; - wth->phdr.ts.tv_sec = mktime(&tm); - wth->phdr.ts.tv_usec = csec * 10000; + wth->phdr.ts.secs = mktime(&tm); + wth->phdr.ts.nsecs = csec * 10000000; wth->phdr.len = pkt_len; } /* XXX need to handle other encapsulations like Cisco HDLC, |