summaryrefslogtreecommitdiffstats
path: root/bind97-rh669163.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2012-11-12 15:35:59 +0100
committerAdam Tkac <atkac@redhat.com>2012-11-12 15:35:59 +0100
commitcd3db89ffb8518750ffc9adcfccdb8a59628b518 (patch)
treee9f992ec9559c128d4ff9dad1613e36ba03d6141 /bind97-rh669163.patch
parent15281fbc42abd79e56efbd3daf468e9e0d8abc48 (diff)
downloadbind-cd3db89ffb8518750ffc9adcfccdb8a59628b518.tar.gz
bind-cd3db89ffb8518750ffc9adcfccdb8a59628b518.tar.xz
bind-cd3db89ffb8518750ffc9adcfccdb8a59628b518.zip
Minor bugfixes
- document dig exit codes in manpage - ignore empty "search" options in resolv.conf Signed-off-by: Adam Tkac <atkac@redhat.com>
Diffstat (limited to 'bind97-rh669163.patch')
-rw-r--r--bind97-rh669163.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/bind97-rh669163.patch b/bind97-rh669163.patch
new file mode 100644
index 0000000..125049f
--- /dev/null
+++ b/bind97-rh669163.patch
@@ -0,0 +1,14 @@
+diff -up bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 bind-9.7.2-P3/lib/lwres/lwconfig.c
+--- bind-9.7.2-P3/lib/lwres/lwconfig.c.rh669163 2011-01-28 14:48:38.934472578 +0100
++++ bind-9.7.2-P3/lib/lwres/lwconfig.c 2011-01-28 14:49:50.421326035 +0100
+@@ -612,6 +612,10 @@ lwres_conf_parse(lwres_context_t *ctx, c
+ break;
+ }
+
++ /* Ignore options with no parameters */
++ if (stopchar == '\n')
++ continue;
++
+ if (strlen(word) == 0U)
+ rval = LWRES_R_SUCCESS;
+ else if (strcmp(word, "nameserver") == 0)