diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-03-21 01:18:06 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-03-21 01:18:06 +0000 |
commit | 71ab0b0f58ecae26f7e013bea35692ebfdcaa852 (patch) | |
tree | b52235910cb54d7c08fef1e8ec01071f9061e80c /www/httptunnel/files/patch-ac | |
parent | Fix text in port's Makefile (diff) |
An implementation of TCP/IP over HTTP with local modifications to allow
binding the server to a single IP number.
Diffstat (limited to '')
-rw-r--r-- | www/httptunnel/files/patch-ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/httptunnel/files/patch-ac b/www/httptunnel/files/patch-ac new file mode 100644 index 000000000000..d0c5db9e3584 --- /dev/null +++ b/www/httptunnel/files/patch-ac @@ -0,0 +1,14 @@ +--- htc.c.orig Thu Mar 16 00:27:51 2000 ++++ htc.c Thu Mar 16 00:43:21 2000 +@@ -408,7 +408,10 @@ + + if (arg.forward_port != -1) + { +- s = server_socket (arg.forward_port, 0); ++ struct in_addr addr; ++ ++ addr.s_addr = INADDR_ANY; ++ s = server_socket (addr, arg.forward_port, 0); + log_debug ("server_socket (%d) = %d", arg.forward_port, s); + if (s == -1) + { |