summaryrefslogtreecommitdiff
path: root/net/tcpdstat/files/patch-net_read.c
blob: ac1a2a67f34c35dad7bee8490d2322b87b692321 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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; }