projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1924cd3
)
map_cast_from_hex() does not produce error messages
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Mar 2017 15:15:44 +0000
(11:15 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Mar 2017 15:16:21 +0000
(11:16 -0400)
src/main/modcall.c
patch
|
blob
|
history
diff --git
a/src/main/modcall.c
b/src/main/modcall.c
index
312b1bb
..
b3dd3f0
100644
(file)
--- 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;
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);
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;
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);
return -1;
}
talloc_free(vpt);