mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-12 12:26:24 -04:00
Merge branch 'pr/1404'
* pr/1404: DNS is case insensitive!
This commit is contained in:
commit
cca2b31923
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue