diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-10-25 02:57:02 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-10-25 02:57:02 +0000 |
commit | 1f02b50e00107a4e9b74b12c0bc2e7e1d0fb5cb5 (patch) | |
tree | 05ad40abe92b086775c6a85492fe909a54c34a96 /net | |
parent | 45186423f8544443f789dcece51025379fe62a26 (diff) | |
download | FreeBSD-ports-1f02b50e00107a4e9b74b12c0bc2e7e1d0fb5cb5.zip FreeBSD-ports-1f02b50e00107a4e9b74b12c0bc2e7e1d0fb5cb5.tar.gz |
Fix connecting with UDP if the loopback interface does not allow
traffic
PR: 14397
Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/rtsp_proxy/files/patch-ac | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/rtsp_proxy/files/patch-ac b/net/rtsp_proxy/files/patch-ac new file mode 100644 index 0000000..464163b --- /dev/null +++ b/net/rtsp_proxy/files/patch-ac @@ -0,0 +1,30 @@ +--- ../proxy.c.orig Sat Oct 16 10:29:52 1999 ++++ ../proxy.c Sat Oct 16 10:30:01 1999 +@@ -127,7 +127,9 @@ + //int gUDPPortMin = 4000; + //int gUDPPortMax = 65535; + +-int gProxyIP = -1; ++#define ANY_ADDRESS -1 ++ ++int gProxyIP = ANY_ADDRESS; + int gMaxPorts = 0; + + unsigned long gBytesReceived = 0; +@@ -137,7 +139,6 @@ + unsigned long gLastPacketsReceived = 0; + unsigned long gLastPacketsSent = 0; + +-#define ANY_ADDRESS -1 + + /**********************************************/ + #if defined(unix) +@@ -243,7 +244,7 @@ + add_rtsp_port_listener(listening_port); + + // +- gProxyIP = get_local_ip_address(); ++ //gProxyIP = get_local_ip_address(); + + // + // compile regular expressions for RTSP |