openbsd-ports/net/tcpstat/patches/patch-src_tcpprof_c
2002-02-24 00:48:53 +00:00

14 lines
441 B
Plaintext

$OpenBSD: patch-src_tcpprof_c,v 1.1 2002/02/24 00:48:53 pvalchev Exp $
--- src/tcpprof.c.orig Fri Nov 3 05:39:27 2000
+++ src/tcpprof.c Sat Feb 23 17:43:39 2002
@@ -105,7 +105,8 @@ void error(char *s) {
}
int main(int argc, char **argv) {
- char ch, filename[BUF_SIZ];
+ char filename[BUF_SIZ];
+ int ch;
u_int stats_types = TYPE_ALL;
int flags = GET_TCPD_COUNT_LINKSIZE | GET_TCPD_DO_LIVE_PROMISC;
Double capture_seconds = -1.0;