diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-06-04 20:48:23 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-06-04 20:48:23 +0500 |
commit | 1355e1a64a303cfd22602b38359899417dc5b863 (patch) | |
tree | afa13841edb76f6fc1f481efe20f027aac3db3ce /prosody | |
parent | f39a3c3f1cb89cec099756de35ee95251aa49c3a (diff) | |
parent | a82a7d386ca2cbfb1db79e2cede363516f0a0f99 (diff) | |
download | prosody-1355e1a64a303cfd22602b38359899417dc5b863.tar.gz prosody-1355e1a64a303cfd22602b38359899417dc5b863.zip |
Merge with trunk
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -179,7 +179,9 @@ function net_activate_ports(option, listener, default, conntype) 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 |