git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a52b0de
)
Fix timestamp computation when using pcapng.
author
Michael Tüxen
<tuexen@fh-muenster.de>
Sat, 22 Dec 2012 12:09:38 +0000
(12:09 -0000)
committer
Michael Tüxen
<tuexen@fh-muenster.de>
Sat, 22 Dec 2012 12:09:38 +0000
(12:09 -0000)
svn path=/trunk/; revision=46692
text2pcap.c
patch
|
blob
|
history
diff --git
a/text2pcap.c
b/text2pcap.c
index 005db825d53390c36cd4bb3a86f8d37713ac27e5..53027a9b7171b09fa6c1a2203b9cf3daba59cfd3 100644
(file)
--- 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 {