diff options
author | phintuka <phintuka> | 2011-01-21 14:10:22 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2011-01-21 14:10:22 +0000 |
commit | 7f6c8e5c034712952371d462d614d0e5a365d13c (patch) | |
tree | 3e96b332afad76b4a22d5efede6e08a7df795198 | |
parent | a89574d078fdd9372b626cb1100a407a49c171e7 (diff) | |
download | xineliboutput-7f6c8e5c034712952371d462d614d0e5a365d13c.tar.gz xineliboutput-7f6c8e5c034712952371d462d614d0e5a365d13c.tar.bz2 |
Disabled data connection IP address check (it does not work with NAT firewalls).
(Suggested by Christian Ruppert)
Closes bug #3152431.
-rw-r--r-- | frontend_svr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend_svr.c b/frontend_svr.c index 0c803d59..22de874d 100644 --- a/frontend_svr.c +++ b/frontend_svr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_svr.c,v 1.96 2010-12-17 13:07:52 phintuka Exp $ + * $Id: frontend_svr.c,v 1.97 2011-01-21 14:10:22 phintuka Exp $ * */ @@ -1025,6 +1025,7 @@ void cXinelibServer::Handle_Control_DATA(int cli, const char *arg) return; } +#if 0 /* check client IP's */ struct sockaddr_in sinc, sind; socklen_t len = sizeof(sinc); @@ -1048,6 +1049,7 @@ void cXinelibServer::Handle_Control_DATA(int cli, const char *arg) CloseConnection(cli); return; } +#endif /* close old data connection */ CloseDataConnection(clientId); |