From 91534394cc5c08a258b2554f07b75ef381dd4a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=BCxen?= Date: Sat, 22 Dec 2012 12:09:38 +0000 Subject: [PATCH] Fix timestamp computation when using pcapng. svn path=/trunk/; revision=46692 --- text2pcap.c | 4 ++-- 1 file 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 {