summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_dhcp.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-12-30 19:39:31 (GMT)
committerGitHub <noreply@github.com>2023-12-30 19:39:31 (GMT)
commit7dfddfbc88b1d78b9824a68feca19df87a3eb504 (patch)
tree6a79e50b310b3fa6f1a74797a0c6b9516046e552 /plugins-root/check_dhcp.c
parentbad156676894a2755c8b76519a11cdd2037e5cd6 (diff)
parent8fe3fc78299dbd5fc3612853a502a99fbaf35451 (diff)
downloadmonitoring-plugins-7dfddfbc88b1d78b9824a68feca19df87a3eb504.tar.gz
Merge pull request #1980 from RincewindsHat/compiler_warning_part_7
Compiler warning part 7
Diffstat (limited to 'plugins-root/check_dhcp.c')
-rw-r--r--plugins-root/check_dhcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index 6b07df5..4b8f5e2 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -497,7 +497,7 @@ int send_dhcp_discover(int sock){
497 memcpy(&discover_packet.options[opts],&requested_address,sizeof(requested_address)); 497 memcpy(&discover_packet.options[opts],&requested_address,sizeof(requested_address));
498 opts += sizeof(requested_address); 498 opts += sizeof(requested_address);
499 } 499 }
500 discover_packet.options[opts++]=DHCP_OPTION_END; 500 discover_packet.options[opts++]= (char)DHCP_OPTION_END;
501 501
502 /* unicast fields */ 502 /* unicast fields */
503 if(unicast) 503 if(unicast)