Comparison

plugins/mod_s2s.lua @ 11415:a38f9e09ca31

mod_s2s: Add config setting to enable DANE
author Kim Alvefur <zash@zash.se>
date Tue, 02 Mar 2021 22:42:04 +0100
parent 11367:9525c4b4e5de
child 11417:f84005d06663
comparison
equal deleted inserted replaced
11414:5a71f14ab77c 11415:a38f9e09ca31
54 54
55 local s2s_service_options = { 55 local s2s_service_options = {
56 default_port = 5269; 56 default_port = 5269;
57 use_ipv4 = module:get_option_boolean("use_ipv4", true); 57 use_ipv4 = module:get_option_boolean("use_ipv4", true);
58 use_ipv6 = module:get_option_boolean("use_ipv6", true); 58 use_ipv6 = module:get_option_boolean("use_ipv6", true);
59 use_dane = module:get_option_boolean("use_dane", false);
59 }; 60 };
60 61
61 module:hook("stats-update", function () 62 module:hook("stats-update", function ()
62 local count = 0; 63 local count = 0;
63 local ipv6 = 0; 64 local ipv6 = 0;