diff options
-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 da90da75..d7f7346f 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -139,7 +139,7 @@ main (int argc, char **argv) | |||
139 | /* bug ID: 2946553 - Older versions of bind will use all available dns | 139 | /* bug ID: 2946553 - Older versions of bind will use all available dns |
140 | servers, we have to match the one specified */ | 140 | servers, we have to match the one specified */ |
141 | if (strstr (chld_out.line[i], "Server:") && strlen(dns_server) > 0) { | 141 | if (strstr (chld_out.line[i], "Server:") && strlen(dns_server) > 0) { |
142 | temp_buffer = index (chld_out.line[i], ':'); | 142 | temp_buffer = strchr (chld_out.line[i], ':'); |
143 | temp_buffer++; | 143 | temp_buffer++; |
144 | 144 | ||
145 | /* Strip leading tabs */ | 145 | /* Strip leading tabs */ |