projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d3f32
)
Newer registrations replace old ones
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 29 Oct 2014 19:50:00 +0000
(15:50 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 29 Oct 2014 19:50:00 +0000
(15:50 -0400)
So that for HUP, the xlat's go to the new modules
src/main/xlat.c
patch
|
blob
|
history
diff --git
a/src/main/xlat.c
b/src/main/xlat.c
index
be32960
..
e423825
100644
(file)
--- a/
src/main/xlat.c
+++ b/
src/main/xlat.c
@@
-575,7
+575,7
@@
int xlat_register(char const *name, RAD_XLAT_FUNC func, RADIUS_ESCAPE_STRING esc
int i;
#endif
- xlat_root = rbtree_create(NULL, xlat_cmp, free,
0
);
+ xlat_root = rbtree_create(NULL, xlat_cmp, free,
RBTREE_FLAG_REPLACE
);
if (!xlat_root) {
DEBUG("xlat_register: Failed to create tree");
return -1;