From: Arran Cudbard-Bell Date: Mon, 25 Oct 2021 18:25:10 +0000 (-0400) Subject: Not committed yet X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b0199d5bf67223a68799325307a76030b13189;p=thirdparty%2Ffreeradius-server.git Not committed yet --- diff --git a/src/lib/unlang/compile.c b/src/lib/unlang/compile.c index ef35afd0512..42c918a5323 100644 --- a/src/lib/unlang/compile.c +++ b/src/lib/unlang/compile.c @@ -497,8 +497,7 @@ static bool pass2_fixup_cond_map(fr_cond_t *c, CONF_ITEM *ci, fr_dict_t const *d /* * Force the RHS to be cast to whatever the LHS da is. */ - if ((tmpl_cast_set(map->rhs, tmpl_da(map->lhs)->type) < 0) || - (tmpl_enumv_set(map->rhs, tmpl_da(map->rhs)) < 0)) { + if (tmpl_cast_set(map->rhs, tmpl_da(map->lhs)->type) < 0) { cf_log_perr(map->ci, "Failed setting rhs type"); };