diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-14 13:16:28 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-14 13:16:28 +0000 |
| commit | 748f28b5fa9ed261380f08bb4012f82aa5ee5b69 (patch) | |
| tree | 828911e659641d00fff15210e6261f89215a839b /net/tcpdstat/files/patch-net_read.c | |
| parent | - Update to 3.9.3 (diff) | |
- Fix gcc 4.1 build
PR: ports/106693
Submitted by: richard@unixguru.nl (maintainer)
Diffstat (limited to '')
| -rw-r--r-- | net/tcpdstat/files/patch-net_read.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/tcpdstat/files/patch-net_read.c b/net/tcpdstat/files/patch-net_read.c new file mode 100644 index 000000000000..ac1a2a67f34c --- /dev/null +++ b/net/tcpdstat/files/patch-net_read.c @@ -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; } |
