Diff

plugins/s2s/s2sout.lib.lua @ 4599:f9f5230d7a9c

s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s
author Kim Alvefur <zash@zash.se>
date Sun, 11 Mar 2012 19:14:28 +0100
parent 4573:09255a10fdfa
child 4602:ba898af15de5
line wrap: on
line diff
--- a/plugins/s2s/s2sout.lib.lua	Sun Mar 11 12:40:32 2012 +0000
+++ b/plugins/s2s/s2sout.lib.lua	Sun Mar 11 19:14:28 2012 +0100
@@ -23,6 +23,8 @@
 
 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;