diff options
Diffstat (limited to 'net/tcptrace/patches/patch-tcpdump.c')
-rw-r--r-- | net/tcptrace/patches/patch-tcpdump.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/tcptrace/patches/patch-tcpdump.c b/net/tcptrace/patches/patch-tcpdump.c new file mode 100644 index 00000000000..dea49c69ba6 --- /dev/null +++ b/net/tcptrace/patches/patch-tcpdump.c @@ -0,0 +1,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) { |