+2057. [bug] Make setting "ra" dependent on both allow-query and
+ allow-recursion. [RT #16290]
+
2056. [bug] dig: ixfr= was not being treated case insensitively
at all times. [RT #15955]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: client.c,v 1.176.2.23 2006/07/21 23:44:36 marka Exp $ */
+/* $Id: client.c,v 1.176.2.24 2006/07/22 01:09:04 marka Exp $ */
#include <config.h>
/* XXX this will log too much too early */
ns_client_checkacl(client, "recursion available:",
client->view->recursionacl,
- ISC_TRUE, ISC_LOG_DEBUG(1)) == ISC_R_SUCCESS)
+ ISC_TRUE, ISC_LOG_DEBUG(1)) == ISC_R_SUCCESS &&
+ ns_client_checkaclsilent(client, client->view->queryacl,
+ ISC_TRUE) == ISC_R_SUCCESS)
ra = ISC_TRUE;
if (ra == ISC_TRUE)