type/class reversed in ns_client_aclmsg() call.

This commit is contained in:
Mark Andrews 2003-04-07 02:29:46 +00:00
parent 80e7d92a21
commit d544aec9ee

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: xfrout.c,v 1.110 2003/01/21 06:11:46 marka Exp $ */
/* $Id: xfrout.c,v 1.111 2003/04/07 02:29:46 marka Exp $ */
#include <config.h>
@ -1009,8 +1009,8 @@ ns_xfr_start(ns_client_t *client, dns_rdatatype_t reqtype) {
/*
* Decide whether to allow this transfer.
*/
ns_client_aclmsg("zone transfer", question_name,
client->view->rdclass, reqtype, msg, sizeof(msg));
ns_client_aclmsg("zone transfer", question_name, reqtype,
client->view->rdclass, msg, sizeof(msg));
CHECK(ns_client_checkacl(client, msg,
dns_zone_getxfracl(zone), ISC_TRUE,
ISC_LOG_ERROR));