diff --git a/lib/isc/win32/include/isc/ntpaths.h b/lib/isc/win32/include/isc/ntpaths.h index fc6eb478bc..e102d38dcc 100644 --- a/lib/isc/win32/include/isc/ntpaths.h +++ b/lib/isc/win32/include/isc/ntpaths.h @@ -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.13 2001/09/01 05:22:04 mayer 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 diff --git a/lib/isc/win32/ntpaths.c b/lib/isc/win32/ntpaths.c index 23081fad6c..241e8c4935 100644 --- a/lib/isc/win32/ntpaths.c +++ b/lib/isc/win32/ntpaths.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: ntpaths.c,v 1.7 2001/08/30 04:28:24 mayer Exp $ */ +/* $Id: ntpaths.c,v 1.8 2001/09/01 05:22:03 mayer 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");