X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=prosody;h=0577179f291c37caab5d75bcda7f76b14dc6985f;hb=3e71637d49595594acdf4d3f59984a0bada8cf15;hp=6ff7743dff7411f3a8ef498ed38b278a25a365be;hpb=e97186e1a338eb9f399de3bf9add9412aa1565bc;p=prosody.git diff --git a/prosody b/prosody index 6ff7743d..0577179f 100755 --- a/prosody +++ b/prosody @@ -208,8 +208,8 @@ function init_global_state() cl.start(listener, { ssl = conntype ~= "tcp" and global_ssl_ctx, port = port, - interface = config.get("*", "core", option.."_interface") - or cl.get(listener).default_interface + interface = (option and config.get("*", "core", option.."_interface")) + or cl.get(listener).default_interface or config.get("*", "core", "interface"), type = conntype });