Blame bind97-rh669163.patch
|
Adam Tkac |
cd3db8 |
diff -up bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 bind-9.7.2-P3/lib/lwres/lwconfig.c
|
|
Adam Tkac |
cd3db8 |
--- bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 2011-01-28 14:48:38.934472578 +0100
|
|
Adam Tkac |
cd3db8 |
+++ bind-9.7.2-P3/lib/lwres/lwconfig.c 2011-01-28 14:49:50.421326035 +0100
|
|
Adam Tkac |
cd3db8 |
@@ -612,6 +612,10 @@ lwres_conf_parse(lwres_context_t *ctx, c
|
|
Adam Tkac |
cd3db8 |
break;
|
|
Adam Tkac |
cd3db8 |
}
|
|
Adam Tkac |
cd3db8 |
|
|
Adam Tkac |
cd3db8 |
+ /* Ignore options with no parameters */
|
|
Adam Tkac |
cd3db8 |
+ if (stopchar == '\n')
|
|
Adam Tkac |
cd3db8 |
+ continue;
|
|
Adam Tkac |
cd3db8 |
+
|
|
Adam Tkac |
cd3db8 |
if (strlen(word) == 0U)
|
|
Adam Tkac |
cd3db8 |
rval = LWRES_R_SUCCESS;
|
|
Adam Tkac |
cd3db8 |
else if (strcmp(word, "nameserver") == 0)
|