aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Jeremy T. Bouse <undrgrid@users.sourceforge.net> 2003-03-08 02:27:57 +0000
committerGravatar Jeremy T. Bouse <undrgrid@users.sourceforge.net> 2003-03-08 02:27:57 +0000
commitaf8af437f390e008361084b0a59e4cc155cc39c1 (patch)
treed5ad1f89dd5fec926374990ab5594fcf8a15c7c7 /plugins
parent4a95946a9b634513494553808b31372060e3c045 (diff)
downloadmonitoring-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')
-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)
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);