mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix gcc 4.1 build
PR: ports/106693 Submitted by: richard@unixguru.nl (maintainer)
This commit is contained in:
parent
1583925b77
commit
748f28b5fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179750
11
net/tcpdstat/files/patch-net_read.c
Normal file
11
net/tcpdstat/files/patch-net_read.c
Normal file
@ -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; }
|
Loading…
Reference in New Issue
Block a user