From 7f6c8e5c034712952371d462d614d0e5a365d13c Mon Sep 17 00:00:00 2001 From: phintuka Date: Fri, 21 Jan 2011 14:10:22 +0000 Subject: Disabled data connection IP address check (it does not work with NAT firewalls). (Suggested by Christian Ruppert) Closes bug #3152431. --- frontend_svr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3