summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
authorwaja <waja@users.noreply.github.com>2023-06-28 16:39:27 +0200
committerGitHub <noreply@github.com>2023-06-28 16:39:27 +0200
commit265a7c0ed8ccde7868bb7e77c44aecc403743c21 (patch)
tree3a02f6ce03e8f781dcfca22ee1f17817225a0ff9 /plugins-root
parentb96a8424f0ec6206238b650c2c63b4bd006ab43a (diff)
parentb24eb7f46ac8667324efd818c01d68d5a1376c89 (diff)
downloadmonitoring-plugins-265a7c0ed8ccde7868bb7e77c44aecc403743c21.tar.gz
Merge branch 'master' into compiler_warning_part_2
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_dhcp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index 2d742349..2d22619b 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