opnsense-ports/net/tcpview/files/patch-print_tcp.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

19 lines
486 B
C

--- print-tcp.c.orig Wed Jun 13 22:18:16 2007
+++ print-tcp.c Wed Jun 13 22:18:32 2007
@@ -410,6 +410,8 @@
/* assemble a single bidirectional stream */
+static int check_frags();
+
static void assemble( seq, len, data, syn, srcx )
u_long seq, len, srcx;
u_char *data;
@@ -418,7 +420,6 @@
int i,j,first=0;
u_long newptr;
struct tcp_frag *t;
- static int check_frags();
/* fprintf(stderr,"assemble seq=%d len=%d syn=%d src=%lx\n",seq,len,syn,srcx); */
i = -1;