summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r--plugins/check_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 19649f50..ac62c457 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -342,7 +342,7 @@ process_arguments (int argc, char **argv)
342 strcpy (ptr_server, optarg); 342 strcpy (ptr_server, optarg);
343 break; 343 break;
344 case 'a': /* expected address */ 344 case 'a': /* expected address */
345 if (is_dotted_quad (optarg) == FALSE) { 345 if (is_addr (optarg) == FALSE) {
346 printf ("Invalid expected address\n\n"); 346 printf ("Invalid expected address\n\n");
347 print_usage (); 347 print_usage ();
348 exit (STATE_UNKNOWN); 348 exit (STATE_UNKNOWN);