Use shift for VSAs instead of OR
[freeradius.git] / src / modules / rlm_soh / rlm_soh.c
index 00b0f60..9a76d78 100644 (file)
@@ -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;