diff options
Diffstat (limited to 'plugins/check_dns.c')
-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 19649f50..ac62c457 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c @@ -342,7 +342,7 @@ process_arguments (int argc, char **argv) strcpy (ptr_server, optarg); break; case 'a': /* expected address */ - if (is_dotted_quad (optarg) == FALSE) { + if (is_addr (optarg) == FALSE) { printf ("Invalid expected address\n\n"); print_usage (); exit (STATE_UNKNOWN); |