changeset 1298 | 4e0db19e5f1c |
parent 1242 | 6c459c279bbe |
child 1311 | fc113027a1d5 |
--- a/prosody Thu Jun 04 15:22:04 2009 +0100 +++ b/prosody Thu Jun 04 15:24:43 2009 +0100 @@ -179,7 +179,9 @@ cl.start(listener, { ssl = conntype ~= "tcp" and global_ssl_ctx, port = port, - interface = config.get("*", "core", option.."_interface"), + interface = config.get("*", "core", option.."_interface") + or cl.get(listener).default_interface + or config.get("*", "core", "interface"), type = conntype }); end