Merge branch 'pr/1404'

* pr/1404:
  DNS is case insensitive!
This commit is contained in:
Holger Weiss 2016-02-22 21:53:05 +01:00
commit cca2b31923

View file

@ -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 {