1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/www/httptunnel/files/patch-ac
Brian Somers 71ab0b0f58 An implementation of TCP/IP over HTTP with local modifications to allow
binding the server to a single IP number.
2000-03-21 01:18:06 +00:00

15 lines
392 B
Plaintext

--- 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)
{