From 18ff01ed4c8ba963eaf7c6ab06951696b2d58f4e Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Fri, 9 Nov 2012 19:57:25 +0000 Subject: [PATCH] silence some output to standard error in our lua scripts for the recursors (?!), address 478 and make sure the 'place' field is not incorrect git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2879 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/lua-pdns.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pdns/lua-pdns.cc b/pdns/lua-pdns.cc index ae556b987..26c7630f2 100644 --- a/pdns/lua-pdns.cc +++ b/pdns/lua-pdns.cc @@ -119,13 +119,13 @@ void popResourceRecordsTable(lua_State *lua, const string &query, vector DNSResourceRecord::ADDITIONAL) + rr.d_place = DNSResourceRecord::ADDITIONAL; + } /* removes 'value'; keeps 'key' for next iteration */ lua_pop(lua, 1); // table -- 2.40.0