Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 195025 | Differences between
and this patch

Collapse All | Expand All

(-)tcpdstat-uw/net_read.c (-1 / +1 lines)
Lines 146-152 Link Here
146
pcap_t *pd;
146
pcap_t *pd;
147
int pcapfd;
147
int pcapfd;
148
148
149
static int packet_length;		/* length of current packet */
149
int packet_length;		/* length of current packet */
150
150
151
#define STAT_ADD(name) \
151
#define STAT_ADD(name) \
152
    { tcpdstat[(name)].packets++; tcpdstat[(name)].bytes += packet_length; }
152
    { tcpdstat[(name)].packets++; tcpdstat[(name)].bytes += packet_length; }

Return to bug 195025