summaryrefslogtreecommitdiff
path: root/sys/src/cmd/file.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-12-23 02:00:09 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-12-23 02:00:09 +0100
commit46bbeea04060257c6257d14112c6a8d317d7f930 (patch)
tree7e58f5a3b17828381f20bc0aa6dc67e2119830ff /sys/src/cmd/file.c
parenta53ae2782a6e8b1996c1d5dea4190eb11d06d056 (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