[Nagiosplug-checkins] nagiosplug/plugins-root check_dhcp.c, 1.4, 1.5

Ton Voon tonvoon at users.sourceforge.net
Sat Jul 29 03:43:37 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins-root
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23996/plugins-root

Modified Files:
	check_dhcp.c 
Log Message:
Fix two Solaris compile problems


Index: check_dhcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/check_dhcp.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- check_dhcp.c	25 May 2006 17:40:19 -0000	1.4
+++ check_dhcp.c	29 Jul 2006 01:43:34 -0000	1.5
@@ -1196,7 +1196,7 @@
 	bind_req->dl_xidtest_flg = 0;
 	put_ctrl(fd, sizeof(dl_bind_req_t), 0);
 	get_msg(fd);
-	if GOT_ERR == check_ctrl(DL_BIND_ACK)){
+	if (GOT_ERR == check_ctrl(DL_BIND_ACK)){
 		printf(_("Error: DLPI stream API failed to get MAC in dl_bind/check_ctrl(): %s.\n"), strerror(errno));
 		exit(STATE_UNKNOWN);
 		}





More information about the Commits mailing list