2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Fix error in sortlist code -- was using the wrong nest level, which

caused the response-order ACL to be merged into a single iptable and
lose its ordering. [rt17216]
This commit is contained in:
Evan Hunt
2007-10-18 01:37:49 +00:00
parent 0a6b6bad04
commit 873a2046fb
2 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.491 2007/09/26 03:22:43 marka Exp $ */
/* $Id: server.c,v 1.492 2007/10/18 01:37:49 each Exp $ */
/*! \file */
@@ -345,13 +345,13 @@ configure_view_sortlist(const cfg_obj_t *vconfig, const cfg_obj_t *config,
return (ISC_R_SUCCESS);
/*
* Use a nest level of 2 for the "top level" of the sortlist;
* this means each entry in the top two levels will be stored as
* lists of separate, nested ACLs, rather than merged together
* Use a nest level of 3 for the "top level" of the sortlist;
* this means each entry in the top three levels will be stored
* as lists of separate, nested ACLs, rather than merged together
* into IP tables as is usually done with ACLs.
*/
result = cfg_acl_fromconfig(aclobj, config, ns_g_lctx,
actx, mctx, 2, aclp);
actx, mctx, 3, aclp);
return (result);
}