diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-05-08 18:24:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 18:24:11 (GMT) |
commit | 869cca59d857fde53b5a435cb8390f54058e8687 (patch) | |
tree | bc9aa773537691078fdac52222c0a8d34882629d /plugins-root | |
parent | 72d34baf718e12a88e978c69369b96baf63ef97a (diff) | |
parent | 6c78f0b5ea82a4bea71ae2024f27d3916175a7a2 (diff) | |
download | monitoring-plugins-869cca59d857fde53b5a435cb8390f54058e8687.tar.gz |
Merge pull request #1866 from RincewindsHat/compiler_warning_part_1
Compiler warning part 1
Diffstat (limited to 'plugins-root')
-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 ad67323..147db6b 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 | ||