diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-12-23 02:00:09 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-12-23 02:00:09 +0100 |
commit | 46bbeea04060257c6257d14112c6a8d317d7f930 (patch) | |
tree | 7e58f5a3b17828381f20bc0aa6dc67e2119830ff /sys/src/cmd/file.c | |
parent | a53ae2782a6e8b1996c1d5dea4190eb11d06d056 (diff) |
snoopy: fix timestamps for pcap files (thanks BurnZeZ)
the pcap files produced by snoopy had the wrong timestamps because it expected:
/* magic=0xa1b2c3d4 */
ulong ts_sec; /* seconds*/
ulong ts_usec; /* microseconds */
but we wrote:
uvlong ts; /* nanoseconds */
now, we write:
/* magic=0xa1b23c4d */
ulong ts_sec; /* seconds */
ulong ts_nsec; /* nanoseconds */
Diffstat (limited to 'sys/src/cmd/file.c')
0 files changed, 0 insertions, 0 deletions