Diff

plugins/mod_admin_telnet.lua @ 6311:f44876548487

mod_admin_telnet: Fix dns:(add,set)nameservers()
author Kim Alvefur <zash@zash.se>
date Fri, 25 Jul 2014 13:59:17 +0200
parent 6064:c4a3222165c4
child 6312:1940a014aeca
child 6380:4220ffb87b22
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Fri Jul 25 12:54:31 2014 +0100
+++ b/plugins/mod_admin_telnet.lua	Fri Jul 25 13:59:17 2014 +0200
@@ -1058,12 +1058,12 @@
 end
 
 function def_env.dns:addnameserver(...)
-	dns.addnameserver(...)
+	dns._resolver:addnameserver(...)
 	return true
 end
 
 function def_env.dns:setnameserver(...)
-	dns.setnameserver(...)
+	dns._resolver:setnameserver(...)
 	return true
 end