projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb4b35
)
* Fix a FIXME to put the Auth-Type at the first of the pair
author
hartwick
<hartwick>
Wed, 31 Jan 2001 04:36:37 +0000
(
04:36
+0000)
committer
hartwick
<hartwick>
Wed, 31 Jan 2001 04:36:37 +0000
(
04:36
+0000)
list. The changes seemed too easy so I left the old code
and some debugging code.
src/main/files.c
patch
|
blob
|
history
diff --git
a/src/main/files.c
b/src/main/files.c
index
0617bd0
..
b4f7028
100644
(file)
--- a/
src/main/files.c
+++ b/
src/main/files.c
@@
-105,8
+105,16
@@
static void auth_type_fixup(VALUE_PAIR *check)
vp->lvalue = n;
vp->operator = T_OP_ADD;
+#if 0
vp->next = c->next;
c->next = vp;
+#endif
+ vp->next = check;
+ check = vp;
+
+ for(vp = check; vp; vp = vp->next) {
+ DEBUG2(" auth_type_fixup: %s [%d]", vp->name, vp->attribute);
+ }
}