From: Arran Cudbard-Bell Date: Wed, 23 May 2018 17:23:26 +0000 (+0600) Subject: Fix error message in compile.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2139f62664d23b434b2efb9b5630cf222df2c08b;p=thirdparty%2Ffreeradius-server.git Fix error message in compile.c --- diff --git a/src/unlang/compile.c b/src/unlang/compile.c index b82b254ac4e..b61a6feda7b 100644 --- a/src/unlang/compile.c +++ b/src/unlang/compile.c @@ -1237,7 +1237,7 @@ int unlang_fixup_update(vp_map_t *map, UNUSED void *ctx) if (tmpl_cast_in_place(map->rhs, map->lhs->tmpl_da->type, map->lhs->tmpl_da) < 0) { cf_log_perr(map->ci, "Cannot convert RHS value (%s) to LHS attribute type (%s)", fr_int2str(dict_attr_types, FR_TYPE_STRING, ""), - fr_int2str(dict_attr_types, map->lhs->tmpl_value_type, "")); + fr_int2str(dict_attr_types, map->lhs->tmpl_da->type, "")); return -1; }