summaryrefslogtreecommitdiff
path: root/text2pcap.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2012-12-22 12:09:38 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2012-12-22 12:09:38 +0000
commit91534394cc5c08a258b2554f07b75ef381dd4a53 (patch)
treef980cf10ce070aff87fa4df495071265c835c5bc /text2pcap.c
parenta52b0de4060ade4becd09b67e609ae27195f61da (diff)
downloadwireshark-91534394cc5c08a258b2554f07b75ef381dd4a53.tar.gz
Fix timestamp computation when using pcapng.
svn path=/trunk/; revision=46692
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text2pcap.c b/text2pcap.c
index 005db825d5..53027a9b71 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -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 {