diff --git a/src/modules/rlm_cache/rlm_cache.c b/src/modules/rlm_cache/rlm_cache.c index a24c4fdc455e2..dba38691013ea 100644 --- a/src/modules/rlm_cache/rlm_cache.c +++ b/src/modules/rlm_cache/rlm_cache.c @@ -942,7 +942,7 @@ static int mod_bootstrap(void *instance, CONF_SECTION *conf) /* * Sanity check for crazy people. */ - if (strncmp(inst->config.driver_name, "rlm_cache_", 8) != 0) { + if (strncmp(inst->config.driver_name, "rlm_cache_", 10) != 0) { cf_log_err(conf, "\"%s\" is NOT an Cache driver!", inst->config.driver_name); return -1; }