blob: dea49c69ba6e98a961f81a3d5d1e7a025765022e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-tcpdump.c,v 1.1 2015/01/20 00:04:58 enami Exp $
--- tcpdump.c.orig 2004-10-07 20:07:30.000000000 +0000
+++ tcpdump.c
@@ -420,7 +420,14 @@ PcapSavePacket(
void *plast)
{
static MFILE *f_savefile = NULL;
- struct pcap_pkthdr phdr;
+ struct {
+ struct {
+ tt_int32 tv_sec;
+ tt_int32 tv_usec;
+ } ts;
+ tt_uint32 caplen;
+ tt_uint32 len;
+ } phdr;
int wlen;
if (f_savefile == NULL) {
|