mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 14:46:57 -04:00
check_dhcp: little fix to output
This commit is contained in:
parent
0453d6d1e2
commit
d3f22c96bb
1 changed files with 1 additions and 1 deletions
|
|
@ -972,7 +972,7 @@ mp_subcheck get_results(bool exclusive, const int requested_servers, const struc
|
|||
/* we didn't receive any DHCPOFFERs */
|
||||
if (dhcp_offer_list == NULL) {
|
||||
sc_dhcp_results = mp_set_subcheck_state(sc_dhcp_results, STATE_CRITICAL);
|
||||
xasprintf(&sc_dhcp_results.output, "%s", "No DHCP offers were received");
|
||||
xasprintf(&sc_dhcp_results.output, "%s", "No DHCPOFFERs were received");
|
||||
return sc_dhcp_results;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue