]> 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:45:58 +0000 (10:45 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 4 Apr 2017 15:11:25 +0000 (17:11 +0200)
commitab33a09578931e6e307795fc4c9ff0eee16afc97
tree402eda302a345a281dc44b22ba5121379c17044b
parent648bcbd1c2fba26875cbd66e2cd712bd5c66aeb0
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`.
pdns/syncres.cc