From: Alan T. DeKok Date: Thu, 31 Aug 2023 15:03:11 +0000 (-0400) Subject: no local compiler errors, but CI complains X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87450428e70bb31062b22c06396e1d1e290ebfe1;p=thirdparty%2Ffreeradius-server.git no local compiler errors, but CI complains --- diff --git a/src/modules/rlm_attr_filter/rlm_attr_filter.c b/src/modules/rlm_attr_filter/rlm_attr_filter.c index 2ab87834f86..06a5eb2f5c9 100644 --- a/src/modules/rlm_attr_filter/rlm_attr_filter.c +++ b/src/modules/rlm_attr_filter/rlm_attr_filter.c @@ -125,14 +125,11 @@ static int attr_filter_getfile(TALLOC_CTX *ctx, module_inst_ctx_t const *mctx, c map = NULL; while ((map = map_list_next(&entry->reply, map))) { - fr_dict_attr_t const *da; - if (!tmpl_is_attr(map->lhs)) { ERROR("%s[%d] Left side of filter %s is not an attribute", filename, entry->lineno, map->lhs->name); return -1; } - da = tmpl_attr_tail_da(map->lhs); /* * Make sure that bad things don't happen. @@ -243,7 +240,7 @@ static unlang_action_t CC_HINT(nonnull(1,2)) attr_filter_common(rlm_rcode_t *p_r continue; } } else if (check_item->da == attr_relax_filter) { - relax_filter = check_item->vp_uint32; + relax_filter = check_item->vp_bool; } /*