projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9281c0d
)
Use shift for VSAs instead of OR
author
Alan T. DeKok
<aland@freeradius.org>
Fri, 29 Oct 2010 17:48:53 +0000
(13:48 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Fri, 29 Oct 2010 17:49:55 +0000
(13:49 -0400)
src/modules/rlm_soh/rlm_soh.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_soh/rlm_soh.c
b/src/modules/rlm_soh/rlm_soh.c
index
00b0f60
..
9a76d78
100644
(file)
--- a/
src/modules/rlm_soh/rlm_soh.c
+++ b/
src/modules/rlm_soh/rlm_soh.c
@@
-201,7
+201,7
@@
static int soh_authorize(UNUSED void * instance, REQUEST *request)
int rv;
/* try to find the MS-SoH payload */
- vp = pairfind(request->packet->vps, (311
|
16) | 55);
+ vp = pairfind(request->packet->vps, (311
<<
16) | 55);
if (!vp) {
RDEBUG("SoH radius VP not found");
return RLM_MODULE_NOOP;