mod_component: Set default listening interface to 127.0.0.1

This commit is contained in:
Matthew Wild 2009-03-22 15:01:23 +00:00
parent 1bfc26ba0a
commit 9eadfb191e

View file

@ -23,7 +23,7 @@ local sessions = {};
local log = module._log;
local component_listener = { default_port = 5347; default_mode = "*a"; };
local component_listener = { default_port = 5347; default_mode = "*a"; default_interface = config.get("*", "core", "component_interface") or "127.0.0.1" };
local xmlns_component = 'jabber:component:accept';