diff options
author | Kim Alvefur <zash@zash.se> | 2012-03-11 19:14:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-03-11 19:14:28 +0100 |
commit | 26768f3e54805074211fc0846221acce5765f570 (patch) | |
tree | 7a1bb6a8dfb151f7573581d208a3e171110df3ce /plugins/s2s/s2sout.lib.lua | |
parent | 4c152e2f3beafe251107fd66d0476d66e3fcc65c (diff) | |
download | prosody-26768f3e54805074211fc0846221acce5765f570.tar.gz prosody-26768f3e54805074211fc0846221acce5765f570.zip |
s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s
Diffstat (limited to 'plugins/s2s/s2sout.lib.lua')
-rw-r--r-- | plugins/s2s/s2sout.lib.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/s2s/s2sout.lib.lua b/plugins/s2s/s2sout.lib.lua index 808c7e74..4fcb094a 100644 --- a/plugins/s2s/s2sout.lib.lua +++ b/plugins/s2s/s2sout.lib.lua @@ -23,6 +23,8 @@ local s2s_destroy_session = require "core.s2smanager".destroy_session; local cfg_sources = config.get("*", "core", "s2s_interfaces") or socket.local_addresses and socket.local_addresses() or { "*" }; +local max_dns_depth = module:get_option_number("dns_max_depth", 3); + local s2sout = {}; local s2s_listener; |