summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index d6bd2c0..48601f0 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -127,7 +127,7 @@ main (int argc, char **argv)
127 if (verbose) 127 if (verbose)
128 puts(chld_out.line[i]); 128 puts(chld_out.line[i]);
129 129
130 if (strstr (chld_out.line[i], ".in-addr.arpa")) { 130 if (strcasestr (chld_out.line[i], ".in-addr.arpa")) {
131 if ((temp_buffer = strstr (chld_out.line[i], "name = "))) 131 if ((temp_buffer = strstr (chld_out.line[i], "name = ")))
132 addresses[n_addresses++] = strdup (temp_buffer + 7); 132 addresses[n_addresses++] = strdup (temp_buffer + 7);
133 else { 133 else {