From f9e5e573f7ace9e7af5d9bd3da80ca3f29f55fb0 Mon Sep 17 00:00:00 2001 From: Jan Broer Date: Sat, 13 Feb 2016 01:40:25 +0100 Subject: [PATCH] Use rcode returned from UDPQueryResponse callback --- pdns/lua-recursor4.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/lua-recursor4.cc b/pdns/lua-recursor4.cc index 39c61b43b..b976ad873 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") { -- 2.40.0