Comparison

core/portmanager.lua @ 4861:2ee71fa500d6

portmanager: Fix missing variable declaration
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 May 2012 23:20:58 +0100
parent 4857:0991a127ac43
child 4897:1a90e5225b22
comparison
equal deleted inserted replaced
4860:b66e73793cb7 4861:2ee71fa500d6
100 or service_info.default_ports 100 or service_info.default_ports
101 or {service_info.default_port 101 or {service_info.default_port
102 or listener.default_port -- COMPAT w/pre-0.9 102 or listener.default_port -- COMPAT w/pre-0.9
103 }); 103 });
104 104
105 local mode = listener.default_mode or "*a"; 105 local mode, ssl = listener.default_mode or "*a";
106 106
107 for interface in bind_interfaces do 107 for interface in bind_interfaces do
108 for port in bind_ports do 108 for port in bind_ports do
109 port = tonumber(port); 109 port = tonumber(port);
110 if #active_services:search(nil, interface, port) > 0 then 110 if #active_services:search(nil, interface, port) > 0 then