mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 15:17:01 -04:00
pullup:
Update to change path to resolv.conf and define RESOLV_CONF
This commit is contained in:
parent
15fd491c85
commit
e5094285ce
2 changed files with 6 additions and 4 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ntpaths.h,v 1.12 2001/08/09 02:55:41 mayer Exp $ */
|
||||
/* $Id: ntpaths.h,v 1.12.2.1 2001/09/04 19:36:33 gson Exp $ */
|
||||
|
||||
/*
|
||||
* Windows-specific path definitions
|
||||
|
|
@ -49,6 +49,8 @@ enum NtPaths {
|
|||
#define NAMED_CONFFILE isc_ntpaths_get(NAMED_CONF_PATH)
|
||||
#define RNDC_CONFFILE isc_ntpaths_get(RNDC_CONF_PATH)
|
||||
#define RNDC_KEYFILE isc_ntpaths_get(RNDC_KEY_PATH)
|
||||
#define RESOLV_CONF isc_ntpaths_get(RESOLV_CONF_PATH)
|
||||
|
||||
|
||||
/*
|
||||
* Information about where the files are on disk
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: ntpaths.c,v 1.6.2.1 2001/08/30 20:29:53 gson Exp $ */
|
||||
/* $Id: ntpaths.c,v 1.6.2.2 2001/09/04 19:36:31 gson Exp $ */
|
||||
|
||||
/*
|
||||
* This module fetches the required path information that is specific
|
||||
|
|
@ -79,8 +79,8 @@ isc_ntpaths_init() {
|
|||
strcpy(lwresd_confFile, namedBase);
|
||||
strcat(lwresd_confFile, "\\etc\\lwresd.conf");
|
||||
|
||||
strcpy(lwresd_resolvconfFile, namedBase);
|
||||
strcat(lwresd_resolvconfFile, "\\etc\\resolv.conf");
|
||||
strcpy(lwresd_resolvconfFile, systemDir);
|
||||
strcat(lwresd_resolvconfFile, "\\Drivers\\etc\\resolv.conf");
|
||||
|
||||
strcpy(rndc_keyFile, namedBase);
|
||||
strcat(rndc_keyFile, "\\etc\\rndc.key");
|
||||
|
|
|
|||
Loading…
Reference in a new issue