aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-10 10:46:27 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-10 10:46:27 +0100
commitc3ea781f9f47946b386f1f4e3e1f872adf8f863f (patch)
treed9d7540d13a8f11cafcf89a9e457ce4ae6bae0ce /net
parentd95cb8d43f88ca04ab9646859f94b23699a4a190 (diff)
parent829a4b8786b1718a6345edb00becbaa2ff47e4a8 (diff)
downloadprosody-c3ea781f9f47946b386f1f4e3e1f872adf8f863f.tar.gz
prosody-c3ea781f9f47946b386f1f4e3e1f872adf8f863f.zip
Merge 0.9->trunk
Diffstat (limited to 'net')
-rw-r--r--net/dns.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/dns.lua b/net/dns.lua
index c9c51fe8..89b50255 100644
--- a/net/dns.lua
+++ b/net/dns.lua
@@ -1072,6 +1072,10 @@ function dns.settimeout(...)
return _resolver:settimeout(...);
end
+function dns.cache()
+ return _resolver.cache;
+end
+
function dns.socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set
return _resolver:socket_wrapper_set(...);
end