diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_ldap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c index 1070650e..1b2e2826 100644 --- a/plugins/check_ldap.c +++ b/plugins/check_ldap.c | |||
| @@ -419,7 +419,7 @@ check_ldap_config_wrapper process_arguments(int argc, char **argv) { | |||
| 419 | if (tmp.error != MP_PARSING_SUCCES) { | 419 | if (tmp.error != MP_PARSING_SUCCES) { |
| 420 | die(STATE_UNKNOWN, "failed to parse number of entries warning threshold"); | 420 | die(STATE_UNKNOWN, "failed to parse number of entries warning threshold"); |
| 421 | } | 421 | } |
| 422 | result.config.connection_time_threshold = | 422 | result.config.entries_thresholds = |
| 423 | mp_thresholds_set_warn(result.config.entries_thresholds, tmp.range); | 423 | mp_thresholds_set_warn(result.config.entries_thresholds, tmp.range); |
| 424 | } break; | 424 | } break; |
| 425 | case 'C': { | 425 | case 'C': { |
| @@ -427,8 +427,8 @@ check_ldap_config_wrapper process_arguments(int argc, char **argv) { | |||
| 427 | if (tmp.error != MP_PARSING_SUCCES) { | 427 | if (tmp.error != MP_PARSING_SUCCES) { |
| 428 | die(STATE_UNKNOWN, "failed to parse number of entries critical threshold"); | 428 | die(STATE_UNKNOWN, "failed to parse number of entries critical threshold"); |
| 429 | } | 429 | } |
| 430 | result.config.connection_time_threshold = | 430 | result.config.entries_thresholds = |
| 431 | mp_thresholds_set_crit(result.config.entries_thresholds, tmp.range); | 431 | mp_thresholds_set_crit(result.config.entries_thresholds, tmp.range); |
| 432 | } break; | 432 | } break; |
| 433 | #ifdef HAVE_LDAP_SET_OPTION | 433 | #ifdef HAVE_LDAP_SET_OPTION |
| 434 | case '2': | 434 | case '2': |
