From: Alan T. DeKok Date: Tue, 28 Mar 2017 15:15:44 +0000 (-0400) Subject: map_cast_from_hex() does not produce error messages X-Git-Tag: release_3_0_14~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c890e38d5201ff03750e77c0f23f94e6cef51dc4;p=thirdparty%2Ffreeradius-server.git map_cast_from_hex() does not produce error messages --- diff --git a/src/main/modcall.c b/src/main/modcall.c index 312b1bb230c..b3dd3f0675f 100644 --- a/src/main/modcall.c +++ b/src/main/modcall.c @@ -1664,7 +1664,7 @@ int modcall_fixup_update(vp_map_t *map, UNUSED void *ctx) if (!map_cast_from_hex(map, T_BARE_WORD, vpt->name)) { map->rhs = vpt; - cf_log_err(map->ci, "%s", fr_strerror()); + cf_log_err(map->ci, "Cannot parse RHS hex as the data type of the attribute %s", map->lhs->tmpl_da->name); return -1; } talloc_free(vpt); @@ -3324,7 +3324,7 @@ static bool pass2_callback(void *ctx, fr_cond_t *c) if (!map_cast_from_hex(map, T_BARE_WORD, vpt->name)) { map->rhs = vpt; - cf_log_err(map->ci, "%s", fr_strerror()); + cf_log_err(map->ci, "Cannot parse RHS hex as the data type of the attribute %s", map->lhs->tmpl_da->name); return -1; } talloc_free(vpt);