mc: multple fixes (#2367)
[termux-packages] / packages / dnsutils / bin-delv-delv.c.patch
CommitLineData
b402eeff
FF
1diff -u -r ../bind-9.10.3/bin/delv/delv.c ./bin/delv/delv.c
2--- ../bind-9.10.3/bin/delv/delv.c 2015-09-08 22:23:40.000000000 -0400
3+++ ./bin/delv/delv.c 2015-09-18 09:20:21.037363830 -0400
4@@ -869,7 +869,7 @@
5 if (result != ISC_R_SUCCESS)
6 fatal("Couldn't parse port number");
7
8- result = irs_resconf_load(mctx, "/etc/resolv.conf", &resconf);
9+ result = irs_resconf_load(mctx, RESOLV_CONF, &resconf);
10 if (result != ISC_R_SUCCESS && result != ISC_R_FILENOTFOUND) {
11 delv_log(ISC_LOG_ERROR, "irs_resconf_load: %s",
12 isc_result_totext(result));