aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/librdns/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/librdns/util.c')
-rw-r--r--contrib/librdns/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/librdns/util.c b/contrib/librdns/util.c
index 7d9dc98d4..974c97554 100644
--- a/contrib/librdns/util.c
+++ b/contrib/librdns/util.c
@@ -398,7 +398,7 @@ rdns_resolver_conf_process_line (struct rdns_resolver *resolver, char *line)
if (has_obrace && *p != ']') {
return false;
}
- else if (*p != '\0' && *p != '\n') {
+ else if (*p != '\0' && !isspace (*p) && *p != '#') {
return false;
}
*p = '\0';