diff options
author | waja <waja@users.noreply.github.com> | 2023-06-28 16:38:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 16:38:43 +0200 |
commit | 4f4dd3a7a342f79dbd40e5636a5808f80ef6ed7b (patch) | |
tree | 9548b86fb65286fc3dd457b85dc296c5cfc5d019 /plugins-root/check_dhcp.c | |
parent | 6d341c40ab4d84d5eabfd672de1ffa3c7ecd07be (diff) | |
parent | b24eb7f46ac8667324efd818c01d68d5a1376c89 (diff) | |
download | monitoring-plugins-4f4dd3a.tar.gz |
Merge branch 'master' into compiler_warning_part_5
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 | ||