Line 0
Link Here
|
|
|
1 |
--- net_read.orig Wed Dec 13 23:11:59 2006 |
2 |
+++ net_read.c Wed Dec 13 23:12:17 2006 |
3 |
@@ -137,7 +137,7 @@ |
4 |
pcap_t *pd; |
5 |
int pcapfd; |
6 |
|
7 |
-static int packet_length; /* length of current packet */ |
8 |
+int packet_length; /* length of current packet */ |
9 |
|
10 |
#define STAT_ADD(name) \ |
11 |
{ tcpdstat[(name)].packets++; tcpdstat[(name)].bytes += packet_length; } |