Commit e2894b0e authored by Brian Wellington's avatar Brian Wellington
Browse files

304. [bug] If more than LWRES_CONFMAXNAMESERVERS servers

                        are listed in resolv.conf, silently ignore them
                        instead of returning failure.
parent cbc6e835
304. [bug] If more than LWRES_CONFMAXNAMESERVERS servers
are listed in resolv.conf, silently ignore them
instead of returning failure.
303. [bug] add additional sanity checks to differentiate a AXFR
response vs a IXFR response. (RT #157)
......
......@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: lwconfig.c,v 1.16 2000/06/27 00:24:27 bwelling Exp $ */
/* $Id: lwconfig.c,v 1.17 2000/07/03 20:13:12 bwelling Exp $ */
/***
*** Module for parsing resolv.conf files.
......@@ -286,7 +286,7 @@ lwres_conf_parsenameserver(lwres_context_t *ctx, FILE *fp) {
confdata = &ctx->confdata;
if (confdata->nsnext == LWRES_CONFMAXNAMESERVERS)
return (LWRES_R_FAILURE);
return (LWRES_R_SUCCESS);
res = getword(fp, word, sizeof(word));
if (strlen(word) == 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment