Software /
code /
prosody
Diff
plugins/mod_s2s/s2sout.lib.lua @ 5552:40e7a6cf15ff
util.rfc{3484,6724}: Update to RFC 6724
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 30 Apr 2013 18:34:03 +0200 |
parent | 5388:f833d2188c16 |
child | 5700:94081567ea9e |
line wrap: on
line diff
--- a/plugins/mod_s2s/s2sout.lib.lua Mon Apr 29 19:40:39 2013 +0200 +++ b/plugins/mod_s2s/s2sout.lib.lua Tue Apr 30 18:34:03 2013 +0200 @@ -13,7 +13,7 @@ local initialize_filters = require "util.filters".initialize; local idna_to_ascii = require "util.encodings".idna.to_ascii; local new_ip = require "util.ip".new_ip; -local rfc3484_dest = require "util.rfc3484".destination; +local rfc6724_dest = require "util.rfc6724".destination; local socket = require "socket"; local adns = require "net.adns"; local dns = require "net.dns"; @@ -191,7 +191,7 @@ if have_other_result then if #IPs > 0 then - rfc3484_dest(host_session.ip_hosts, sources); + rfc6724_dest(host_session.ip_hosts, sources); for i = 1, #IPs do IPs[i] = {ip = IPs[i], port = connect_port}; end @@ -227,7 +227,7 @@ if have_other_result then if #IPs > 0 then - rfc3484_dest(host_session.ip_hosts, sources); + rfc6724_dest(host_session.ip_hosts, sources); for i = 1, #IPs do IPs[i] = {ip = IPs[i], port = connect_port}; end