From af8af437f390e008361084b0a59e4cc155cc39c1 Mon Sep 17 00:00:00 2001 From: "Jeremy T. Bouse" Date: Sat, 8 Mar 2003 02:27:57 +0000 Subject: [PATCH] Modified code to call is_addr() rather than is_dotted_quad() with the new AF indepdent function routines git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@385 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_dns.c b/plugins/check_dns.c index 19649f5..ac62c45 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); -- 2.30.2