|
@@ -151,7 +151,7 @@ main (int argc, char **argv)
|
|
|
/* bug ID: 2946553 - Older versions of bind will use all available dns
|
|
/* bug ID: 2946553 - Older versions of bind will use all available dns
|
|
|
+ servers, we have to match the one specified */
|
|
+ servers, we have to match the one specified */
|
|
|
if (strlen(dns_server) > 0 && strstr(chld_out.line[i], "Server:")) {
|
|
if (strlen(dns_server) > 0 && strstr(chld_out.line[i], "Server:")) {
|
|
|
- temp_buffer = index(chld_out.line[i], ':');
|
|
|
|
|
|
|
+ temp_buffer = strchr(chld_out.line[i], ':');
|
|
|
temp_buffer++;
|
|
temp_buffer++;
|
|
|
|
|
|
|
|
/* Strip leading tabs */
|
|
/* Strip leading tabs */
|