Fix timestamp computation when using pcapng.

svn path=/trunk/; revision=46692
This commit is contained in:
Michael Tüxen 2012-12-22 12:09:38 +00:00
parent a52b0de406
commit 91534394cc
1 changed files with 2 additions and 2 deletions

View File

@ -726,7 +726,7 @@ write_current_packet (void)
(guint32)ts_sec, ts_usec,
length, length,
0,
6,
1000000,
packet_buf, 0,
&bytes_written, &err);
} else {
@ -791,7 +791,7 @@ write_file_header (void)
102400,
&bytes_written,
0,
6,
0,
&err);
}
} else {