diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-02-22 21:53:05 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-02-22 21:53:05 +0100 |
commit | cca2b319234d3bfb30dbeb9fba714ded06c4827f (patch) | |
tree | 6cf2024d6497c80c56d4a198794b7b4c0d573063 | |
parent | 8dc6bc64280c1e30c457840ee0180c43d29bae7f (diff) | |
parent | d44b8d70a446e708cfd69a64f505fdf9193a412e (diff) | |
download | monitoring-plugins-cca2b319234d3bfb30dbeb9fba714ded06c4827f.tar.gz |
Merge branch 'pr/1404'
* pr/1404:
DNS is case insensitive!
-rw-r--r-- | plugins/check_dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index d6bd2c0f..48601f02 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c @@ -127,7 +127,7 @@ main (int argc, char **argv) if (verbose) puts(chld_out.line[i]); - if (strstr (chld_out.line[i], ".in-addr.arpa")) { + if (strcasestr (chld_out.line[i], ".in-addr.arpa")) { if ((temp_buffer = strstr (chld_out.line[i], "name = "))) addresses[n_addresses++] = strdup (temp_buffer + 7); else { |