diff options
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r-- | plugins/check_dns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 7b18270f..6c08c277 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -207,7 +207,7 @@ main (int argc, char **argv) | |||
207 | printf (_("DNS CRITICAL - %s\n"), | 207 | printf (_("DNS CRITICAL - %s\n"), |
208 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); | 208 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); |
209 | else | 209 | else |
210 | printf (_("DNS problem - %s\n"), | 210 | printf (_("DNS UNKNOW - %s\n"), |
211 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); | 211 | !strcmp (output, "") ? _(" Probably a non-existent host/domain") : output); |
212 | 212 | ||
213 | return result; | 213 | return result; |
@@ -331,7 +331,7 @@ process_arguments (int argc, char **argv) | |||
331 | case 'r': /* reverse server name */ | 331 | case 'r': /* reverse server name */ |
332 | /* TODO: Is this is_host necessary? */ | 332 | /* TODO: Is this is_host necessary? */ |
333 | if (is_host (optarg) == FALSE) { | 333 | if (is_host (optarg) == FALSE) { |
334 | usage2 (_("Invalid host name/address"), optarg); | 334 | usage2 (_("Invalid hostname/address"), optarg); |
335 | } | 335 | } |
336 | if (strlen (optarg) >= ADDRESS_LENGTH) | 336 | if (strlen (optarg) >= ADDRESS_LENGTH) |
337 | die (STATE_UNKNOWN, _("Input buffer overflow\n")); | 337 | die (STATE_UNKNOWN, _("Input buffer overflow\n")); |
@@ -359,7 +359,7 @@ process_arguments (int argc, char **argv) | |||
359 | if (strlen(dns_server)==0 && c<argc) { | 359 | if (strlen(dns_server)==0 && c<argc) { |
360 | /* TODO: See -s option */ | 360 | /* TODO: See -s option */ |
361 | if (is_host(argv[c]) == FALSE) { | 361 | if (is_host(argv[c]) == FALSE) { |
362 | printf (_("Invalid name/address: %s\n\n"), argv[c]); | 362 | printf (_("Invalid hostname/address: %s\n\n"), argv[c]); |
363 | return ERROR; | 363 | return ERROR; |
364 | } | 364 | } |
365 | if (strlen(argv[c]) >= ADDRESS_LENGTH) | 365 | if (strlen(argv[c]) >= ADDRESS_LENGTH) |