projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use shift for VSAs instead of OR
[freeradius.git]
/
src
/
modules
/
rlm_soh
/
rlm_soh.c
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;