mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-20 21:57:10 -04:00
check_dhcp: Make implicit conversion explicit to dismiss warning
This commit is contained in:
parent
5275f81e38
commit
8fe3fc7829
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ int send_dhcp_discover(int sock){
|
|||
memcpy(&discover_packet.options[opts],&requested_address,sizeof(requested_address));
|
||||
opts += sizeof(requested_address);
|
||||
}
|
||||
discover_packet.options[opts++]=DHCP_OPTION_END;
|
||||
discover_packet.options[opts++]= (char)DHCP_OPTION_END;
|
||||
|
||||
/* unicast fields */
|
||||
if(unicast)
|
||||
|
|
|
|||
Loading…
Reference in a new issue