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
This commit is contained in:
Jeremy T. Bouse 2003-03-08 02:27:57 +00:00
parent 4a95946a9b
commit af8af437f3

View file

@ -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);