From: Jan Broer Date: Sat, 13 Feb 2016 00:40:25 +0000 (+0100) Subject: Use rcode returned from UDPQueryResponse callback X-Git-Tag: auth-4.0.0-alpha2~51^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3365%2Fhead;p=thirdparty%2Fpdns.git Use rcode returned from UDPQueryResponse callback --- diff --git a/pdns/lua-recursor4.cc b/pdns/lua-recursor4.cc index 39c61b43bb..b976ad8733 100644 --- a/pdns/lua-recursor4.cc +++ b/pdns/lua-recursor4.cc @@ -420,8 +420,8 @@ bool RecursorLua4::genhook(luacall_t& func, const ComboAddress& remote,const Com if(variable) *variable |= dq->variable; // could still be set to indicate this *name* is variable if(handled) { +loop:; ret=dq->rcode; - loop:; if(!dq->followupFunction.empty()) { if(dq->followupFunction=="followCNAMERecords") {