From: Mark Andrews Date: Thu, 16 Jan 2014 03:25:19 +0000 (+1100) Subject: handle ISC_R_FILENOTFOUND now being returned from irs_resconf_load X-Git-Tag: v4_3_0b1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22ceb8bb3aeeb48d07a339d28565e58432641279;p=thirdparty%2Fdhcp.git handle ISC_R_FILENOTFOUND now being returned from irs_resconf_load --- diff --git a/omapip/isclib.c b/omapip/isclib.c index 700bd88cf..4a0ce0538 100644 --- a/omapip/isclib.c +++ b/omapip/isclib.c @@ -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); }