From: Nick Porter Date: Wed, 14 Feb 2024 13:54:43 +0000 (+0000) Subject: Conf options have CONF_FLAG_REQURED so will exist X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08d0f4439bcf78d49bf0945ea024ef8f255381d8;p=thirdparty%2Ffreeradius-server.git Conf options have CONF_FLAG_REQURED so will exist --- diff --git a/src/modules/rlm_sqlcounter/rlm_sqlcounter.c b/src/modules/rlm_sqlcounter/rlm_sqlcounter.c index 3186dfdf517..0b287e631e8 100644 --- a/src/modules/rlm_sqlcounter/rlm_sqlcounter.c +++ b/src/modules/rlm_sqlcounter/rlm_sqlcounter.c @@ -453,11 +453,6 @@ static int mod_bootstrap(module_inst_ctx_t const *mctx) CONF_SECTION *conf = mctx->inst->conf; fr_dict_attr_flags_t flags = (fr_dict_attr_flags_t) { .internal = 1, .length = 8 }; - /* - * Create a new attribute for the counter. - */ - fr_assert(inst->counter_attr); - fr_assert(inst->limit_attr); if (tmpl_attr_tail_unresolved_add(fr_dict_unconst(dict_freeradius), inst->start_attr, FR_TYPE_UINT64, &flags) < 0) { cf_log_perr(conf, "Failed defining reset_period_start attribute");