diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-04-01 01:18:23 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-06-23 12:09:58 +0200 |
commit | d3f22c96bbfa8f31a6d795387f10a825f78c7aef (patch) | |
tree | b8cbfc7b7d9195a2a18f7459adc89e5166aca039 /plugins-root/check_dhcp.c | |
parent | 0453d6d1e206c1f4c156bf73c473608a8c0da4f5 (diff) | |
download | monitoring-plugins-d3f22c96bbfa8f31a6d795387f10a825f78c7aef.tar.gz |
check_dhcp: little fix to output
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 3732d970..daed9cb0 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c | |||
@@ -972,7 +972,7 @@ mp_subcheck get_results(bool exclusive, const int requested_servers, const struc | |||
972 | /* we didn't receive any DHCPOFFERs */ | 972 | /* we didn't receive any DHCPOFFERs */ |
973 | if (dhcp_offer_list == NULL) { | 973 | if (dhcp_offer_list == NULL) { |
974 | sc_dhcp_results = mp_set_subcheck_state(sc_dhcp_results, STATE_CRITICAL); | 974 | sc_dhcp_results = mp_set_subcheck_state(sc_dhcp_results, STATE_CRITICAL); |
975 | xasprintf(&sc_dhcp_results.output, "%s", "No DHCP offers were received"); | 975 | xasprintf(&sc_dhcp_results.output, "%s", "No DHCPOFFERs were received"); |
976 | return sc_dhcp_results; | 976 | return sc_dhcp_results; |
977 | } | 977 | } |
978 | 978 | ||