summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a95946)
raw | patch | inline | side by side (parent: 4a95946)
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | |
Sat, 8 Mar 2003 02:27:57 +0000 (02:27 +0000) | ||
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | |
Sat, 8 Mar 2003 02:27:57 +0000 (02:27 +0000) |
new AF indepdent function routines
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@385 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@385 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_dns.c | patch | blob | history |
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 19649f50045bbfdde8c1a8f27239bc4b2dea11b6..ac62c45775d7ad939e0977185bf1344e6c688244 100644 (file)
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
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);