Source
--- net_read.c.orig 2002-05-21 19:39:20.000000000 -0500
+++ net_read.c 2010-08-05 18:12:29.000000000 -0500
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; }