From: tcely Date: Fri, 25 May 2018 04:15:23 +0000 (-0400) Subject: translate the new qtype table to a string X-Git-Tag: dnsdist-1.4.0-rc3~42^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=252f1954e8c862763f4a71aa038fc894e557693c;p=thirdparty%2Fpdns.git translate the new qtype table to a string --- diff --git a/modules/luabackend/test2/pdns-luabackend.lua b/modules/luabackend/test2/pdns-luabackend.lua index c22da8202a..50be50dc5b 100644 --- a/modules/luabackend/test2/pdns-luabackend.lua +++ b/modules/luabackend/test2/pdns-luabackend.lua @@ -141,6 +141,9 @@ end function lookup(qtype, qname, domain_id) + if ("table" == type(qtype)) then + qtype = qtype.name + end logger(log_debug, "(l_lookup)", "qtype:", qtype, " qname:", qname, " domain_id:", domain_id ) rrset = {}