]> granicus.if.org Git - pdns/commit
rec: Fix cache-only queries against a forward-zone
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 Apr 2017 08:53:41 +0000 (10:53 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 9 May 2017 10:12:02 +0000 (12:12 +0200)
commit5e660e9f681cf2548498cd550b23d45b19e0ba47
tree58f8a0bb7ca4042d16b0485b657548c264c8cbaf
parent492222bbcef8e6e246d134bda7056582d3591e88
rec: Fix cache-only queries against a forward-zone

We used to pass the return code from `asyncresolve` directly to the
caller, leading the success code (1) to be interpreted as `RCode::FormErr`.

(cherry picked from commit 6148fa9731f6e4cef35243c8f35399d2b1e89215)
pdns/syncres.cc