diff options
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-08 02:27:57 +0000 |
---|---|---|
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-08 02:27:57 +0000 |
commit | af8af437f390e008361084b0a59e4cc155cc39c1 (patch) | |
tree | d5ad1f89dd5fec926374990ab5594fcf8a15c7c7 /plugins/check_dns.c | |
parent | 4a95946a9b634513494553808b31372060e3c045 (diff) | |
download | monitoring-plugins-af8af437f390e008361084b0a59e4cc155cc39c1.tar.gz |
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
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); |