+1291. [bug] "recursion available: {denied,approved}" was too
+ confusing.
+
1290. [bug] Check that system inet_pton() and inet_ntop() support
AF_INET6.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: client.c,v 1.208 2002/04/29 23:43:46 marka Exp $ */
+/* $Id: client.c,v 1.209 2002/05/16 04:05:42 marka Exp $ */
#include <config.h>
ra = ISC_FALSE;
if (client->view->resolver != NULL &&
client->view->recursion == ISC_TRUE &&
- /* 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)
+ ns_client_checkaclsilent(client, client->view->recursionacl,
+ ISC_TRUE) == ISC_R_SUCCESS)
ra = ISC_TRUE;
if (ra == ISC_TRUE)
client->attributes |= NS_CLIENTATTR_RA;
+ ns_client_log(client, DNS_LOGCATEGORY_SECURITY, NS_LOGMODULE_CLIENT,
+ ISC_LOG_DEBUG(3), ra ? "recursion available" :
+ "recursion not available");
+
/*
* Dispatch the request.
*/