From 71ab0b0f58ecae26f7e013bea35692ebfdcaa852 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Tue, 21 Mar 2000 01:18:06 +0000 Subject: An implementation of TCP/IP over HTTP with local modifications to allow binding the server to a single IP number. --- www/httptunnel/files/patch-ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 www/httptunnel/files/patch-ac (limited to 'www/httptunnel/files/patch-ac') 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) + { -- cgit v1.2.3