FreeBSD Bugzilla – Attachment 73635 Details for
Bug 106693
Update tcpdstat so it can be compiled with GCC 4.*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 581 bytes, created by
Richard Arends
on 2006-12-13 22:30:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Richard Arends
Created:
2006-12-13 22:30:04 UTC
Size:
581 bytes
patch
obsolete
>diff -ruN tcpdstat.orig/files/patch-net_read.c tcpdstat/files/patch-net_read.c >--- tcpdstat.orig/files/patch-net_read.c Thu Jan 1 01:00:00 1970 >+++ tcpdstat/files/patch-net_read.c Wed Dec 13 23:20:33 2006 >@@ -0,0 +1,11 @@ >+--- net_read.orig Wed Dec 13 23:11:59 2006 >++++ net_read.c Wed Dec 13 23:12:17 2006 >+@@ -137,7 +137,7 @@ >+ pcap_t *pd; >+ int pcapfd; >+ >+-static int packet_length; /* length of current packet */ >++int packet_length; /* length of current packet */ >+ >+ #define STAT_ADD(name) \ >+ { tcpdstat[(name)].packets++; tcpdstat[(name)].bytes += packet_length; }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 106693
: 73635