]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix error message in compile.c
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 23 May 2018 17:23:26 +0000 (23:23 +0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 23 May 2018 18:13:36 +0000 (00:13 +0600)
src/unlang/compile.c

index b82b254ac4eceee6233e73c8248723b80b483ece..b61a6feda7b56e12884dc59c521be7db56d3c492 100644 (file)
@@ -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, "<INVALID>"),
-                                   fr_int2str(dict_attr_types, map->lhs->tmpl_value_type, "<INVALID>"));
+                                   fr_int2str(dict_attr_types, map->lhs->tmpl_da->type, "<INVALID>"));
                        return -1;
                }