summaryrefslogtreecommitdiffstats
path: root/net/bounce/files
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-12-30 04:31:42 +0000
committerobrien <obrien@FreeBSD.org>1998-12-30 04:31:42 +0000
commit7b2f437b593ca7faaa26907bf985c34facda3696 (patch)
tree84048907442663b215223edea47c25006f4310d5 /net/bounce/files
parent9232be38c59333ae5297984b054cfc25758c2412 (diff)
downloadFreeBSD-ports-7b2f437b593ca7faaa26907bf985c34facda3696.zip
FreeBSD-ports-7b2f437b593ca7faaa26907bf985c34facda3696.tar.gz
A little program to bounce tcp connections to another machine/port.
Diffstat (limited to 'net/bounce/files')
-rw-r--r--net/bounce/files/patch-0119
1 files changed, 19 insertions, 0 deletions
diff --git a/net/bounce/files/patch-01 b/net/bounce/files/patch-01
new file mode 100644
index 0000000..adf91f3
--- /dev/null
+++ b/net/bounce/files/patch-01
@@ -0,0 +1,19 @@
+--- bounce.c.orig Sun Sep 20 15:44:41 1998
++++ bounce.c Sun Sep 20 15:46:04 1998
+@@ -20,13 +20,14 @@
+ #include <sys/ioctl.h>
+ #include <signal.h>
+ #include <sys/wait.h>
++#include <unistd.h>
++#include <stdlib.h>
++#include <string.h>
+
+ #define QLEN 5
+ #define DEFAULT_PORT 1523
+
+ char sbuf[16384], cbuf[16384];
+-extern int errno;
+-extern char *sys_errlist[];
+
+ void sigchld() {
+ signal(SIGCHLD, sigchld);
OpenPOWER on IntegriCloud