I think your change needs some more tweaking. Could you please try the
following:


Code:
--------------------
                    # Check allowed hosts
  if ( !Slim::Utils::Network::ip_is_host($tmpaddr)
  +                       && !($prefsServer->get('filterHosts') || 
Slim::Utils::Network::isAllowedHost($tmpaddr))
  && $prefsServer->get('protectSettings') && !$prefsServer->get('authorize')
  && ( Slim::Utils::Network::ip_is_gateway($tmpaddr) || 
Slim::Utils::Network::ip_on_different_network($tmpaddr) )
  ) {
  
--------------------



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=113868

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to