aboutsummaryrefslogtreecommitdiff
path: root/plugins-root/check_dhcp.c
diff options
context:
space:
mode:
authorGravatar Holger Weiss <hweiss@users.sourceforge.net> 2007-04-20 17:55:09 +0000
committerGravatar Holger Weiss <hweiss@users.sourceforge.net> 2007-04-20 17:55:09 +0000
commitf100554212a20a2065cd0cbc395d5fb2eec6e715 (patch)
treece65d1bb06a483043cb7322afe2b895501bbb922 /plugins-root/check_dhcp.c
parentef0431fa27d634a7981d906a5728e40a0b8f97fa (diff)
downloadmonitoring-plugins-f100554212a20a2065cd0cbc395d5fb2eec6e715.tar.gz
Remove unused variables.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1698 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/check_dhcp.c')
-rw-r--r--plugins-root/check_dhcp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index 993531cd..72405fea 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -488,7 +488,6 @@ int get_dhcp_offer(int sock){
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 @@ int get_dhcp_offer(int sock){
/* 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));