[Nagiosplug-checkins] nagiosplug/plugins-root check_dhcp.c, 1.9, 1.10

Holger Weiss hweiss at users.sourceforge.net
Fri Apr 20 19:55:11 CEST 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins-root
In directory sc8-pr-cvs16:/tmp/cvs-serv30092

Modified Files:
	check_dhcp.c 
Log Message:
Remove unused variables.

Index: check_dhcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/check_dhcp.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- check_dhcp.c	20 Apr 2007 17:25:40 -0000	1.9
+++ check_dhcp.c	20 Apr 2007 17:55:09 -0000	1.10
@@ -488,7 +488,6 @@
 	struct sockaddr_in source;
 	struct sockaddr_in via;
 	int result=OK;
-	int timeout=1;
 	int responses=0;
 	int x;
 	time_t start_time;
@@ -595,7 +594,6 @@
 
 /* sends a DHCP packet */
 int send_dhcp_packet(void *buffer, int buffer_size, int sock, struct sockaddr_in *dest){
-	struct sockaddr_in myname;
 	int result;
 
 	result=sendto(sock,(char *)buffer,buffer_size,0,(struct sockaddr *)dest,sizeof(*dest));





More information about the Commits mailing list