aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-11 19:13:29 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-11 19:13:29 +0000
commit2f97844affa452447001c36aee1d9bff88c211d6 (patch)
tree7c582375d8135564e36e347cf72a7574e68446b1 /plugins/s2s
parent30314b5891a1eb96c6b5fc7d9235695c3077e54e (diff)
parent26768f3e54805074211fc0846221acce5765f570 (diff)
downloadprosody-2f97844affa452447001c36aee1d9bff88c211d6.tar.gz
prosody-2f97844affa452447001c36aee1d9bff88c211d6.zip
Merge with Zash
Diffstat (limited to 'plugins/s2s')
-rw-r--r--plugins/s2s/s2sout.lib.lua2
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;