diff options
| author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-01-04 02:16:50 +0100 |
|---|---|---|
| committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2024-01-04 02:16:50 +0100 |
| commit | 2a1c0b64bb9b8730a321ee1b50f303d3a8468825 (patch) | |
| tree | 65e518381a8d6457089e6ad7eb4a7bcc131eff27 /plugins-root/check_dhcp.c | |
| parent | 946d2f4b8fedfef30b8978d10823987cb6f88819 (diff) | |
| parent | 7dfddfbc88b1d78b9824a68feca19df87a3eb504 (diff) | |
| download | monitoring-plugins-2a1c0b64bb9b8730a321ee1b50f303d3a8468825.tar.gz | |
Merge branch 'master' into check_swap_again
Diffstat (limited to 'plugins-root/check_dhcp.c')
| -rw-r--r-- | plugins-root/check_dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 6b07df51..4b8f5e27 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) |
