Skip to content

Commit

Permalink
Remove now obsolete variable
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Dec 9, 2024
1 parent c412b22 commit 70e0087
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/tools/dhcp-discover.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,6 @@ static unsigned int get_dhcp_offer(const int sock, const uint32_t xid, const cha
{
struct dhcp_packet_data offer_packet;
struct sockaddr_in source;
unsigned int responses = 0;
unsigned int valid_responses = 0;
time_t start_time;
time_t current_time;
Expand Down Expand Up @@ -663,11 +662,6 @@ static unsigned int get_dhcp_offer(const int sock, const uint32_t xid, const cha
valid_responses++;
}

#ifdef DEBUG
printf(" Responses seen while scanning: %u\n", responses);
printf(" Responses meant for this machine: %u\n\n", valid_responses);
#endif

return valid_responses;
}

Expand Down

0 comments on commit 70e0087

Please sign in to comment.