pkgsrc/net/tcpdstat/patches/patch-aa
2012-03-07 18:27:30 +00:00

21 lines
484 B
Text

$NetBSD: patch-aa,v 1.2 2012/03/07 18:27:30 hans Exp $
--- tcpdstat.h.orig 2000-06-30 04:16:39.000000000 -0700
+++ tcpdstat.h
@@ -28,7 +28,7 @@
struct pkt_cnt {
int packets;
- quad_t bytes;
+ int64_t bytes;
};
enum protos {
@@ -70,7 +70,6 @@ enum protos {
extern int read_count;
extern struct timeval start_time, end_time;
extern struct pkt_cnt tcpdstat[PROTOTYPE_MAX];
-extern int packet_length;
extern int caplen_total;
extern int caplen_max;
extern int use_ipflow;