[Nagiosplug-checkins] CVS: nagiosplug/plugins check_dns.c,1.8,1.9

Jeremy T. Bouse undrgrid at users.sourceforge.net
Fri Mar 7 18:32:06 CET 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv10737/plugins

Modified Files:
	check_dns.c 
Log Message:
Modified code to call is_addr() rather than is_dotted_quad() with the
	new AF indepdent function routines


Index: check_dns.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_dns.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** check_dns.c	21 Feb 2003 21:46:27 -0000	1.8
--- check_dns.c	8 Mar 2003 02:27:57 -0000	1.9
***************
*** 343,347 ****
  			break;
  		case 'a': /* expected address */
! 			if (is_dotted_quad (optarg) == FALSE) {
  				printf ("Invalid expected address\n\n");
  				print_usage ();
--- 343,347 ----
  			break;
  		case 'a': /* expected address */
! 			if (is_addr (optarg) == FALSE) {
  				printf ("Invalid expected address\n\n");
  				print_usage ();





More information about the Commits mailing list