diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-05-22 00:57:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 00:57:31 +0200 |
commit | 1bce93b28a889edcaed10a920c931a6232940ad8 (patch) | |
tree | 370a6155fb7390c27bc4fee2926eb9a95a132657 /plugins-root/check_dhcp.c | |
parent | bc47263115a3d6c01ec3ad8ec95951581551a9f5 (diff) | |
parent | 4ed55a1d40ac8693c7d5c9aa3a7301f0a2236135 (diff) | |
download | monitoring-plugins-1bce93b.tar.gz |
Merge branch 'master' into check_swap_scanf_expressions
Diffstat (limited to 'plugins-root/check_dhcp.c')
-rw-r--r-- | plugins-root/check_dhcp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index ad673237..147db6b3 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c | |||
@@ -470,10 +470,6 @@ int send_dhcp_discover(int sock){ | |||
470 | packet_xid=random(); | 470 | packet_xid=random(); |
471 | discover_packet.xid=htonl(packet_xid); | 471 | discover_packet.xid=htonl(packet_xid); |
472 | 472 | ||
473 | /**** WHAT THE HECK IS UP WITH THIS?!? IF I DON'T MAKE THIS CALL, ONLY ONE SERVER RESPONSE IS PROCESSED!!!! ****/ | ||
474 | /* downright bizzarre... */ | ||
475 | ntohl(discover_packet.xid); | ||
476 | |||
477 | /*discover_packet.secs=htons(65535);*/ | 473 | /*discover_packet.secs=htons(65535);*/ |
478 | discover_packet.secs=0xFF; | 474 | discover_packet.secs=0xFF; |
479 | 475 | ||