]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
handle ISC_R_FILENOTFOUND now being returned from irs_resconf_load
authorMark Andrews <marka@isc.org>
Thu, 16 Jan 2014 03:25:19 +0000 (14:25 +1100)
committerMark Andrews <marka@isc.org>
Thu, 16 Jan 2014 03:25:19 +0000 (14:25 +1100)
omapip/isclib.c

index 700bd88cf4a3a8f119be9ceee71403750efa850b..4a0ce053889eac9a46d13844f7fabfe34b8d4231 100644 (file)
@@ -50,7 +50,7 @@ dhcp_dns_client_setservers(void)
 
        result = irs_resconf_load(dhcp_gbl_ctx.mctx, _PATH_RESOLV_CONF,
                                  &resconf);
-       if (result != ISC_R_SUCCESS) {
+       if (result != ISC_R_SUCCESS && result != ISC_R_FILENOTFOUND) {
                log_error("irs_resconf_load failed: %d.", result);
                return (result);
        }