mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix connecting with UDP if the loopback interface does not allow
traffic PR: 14397 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
This commit is contained in:
parent
af90891db9
commit
5b9b46dbae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22606
1 changed files with 30 additions and 0 deletions
30
net/rtsp_proxy/files/patch-ac
Normal file
30
net/rtsp_proxy/files/patch-ac
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue