projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64904cf
)
Missed case where tag was not set for PW_TYPE_INTEGER correctly.
author
cparker
<cparker>
Thu, 1 Nov 2001 00:55:17 +0000
(
00:55
+0000)
committer
cparker
<cparker>
Thu, 1 Nov 2001 00:55:17 +0000
(
00:55
+0000)
This is now handled properly when writing vp's into the packet
data.
src/lib/radius.c
patch
|
blob
|
history
diff --git
a/src/lib/radius.c
b/src/lib/radius.c
index
08bfdb4
..
1a877dd
100644
(file)
--- a/
src/lib/radius.c
+++ b/
src/lib/radius.c
@@
-358,8
+358,9
@@
int rad_send(RADIUS_PACKET *packet, const RADIUS_PACKET *original, const char *s
}
lvalue = htonl((reply->lvalue & 0xffffff) |
((reply->flags.tag & 0xff) << 24));
+ } else {
+ lvalue = htonl(reply->lvalue);
}
- lvalue = htonl(reply->lvalue);
} else {
lvalue = reply->lvalue;
}