From: Alan T. DeKok Date: Fri, 29 Oct 2010 17:48:53 +0000 (-0400) Subject: Use shift for VSAs instead of OR X-Git-Tag: release_2_1_11~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7c9ef04acaf084d5d05ef39cf5ef5f9cc971bb9;p=thirdparty%2Ffreeradius-server.git Use shift for VSAs instead of OR --- diff --git a/src/modules/rlm_soh/rlm_soh.c b/src/modules/rlm_soh/rlm_soh.c index aeb0c211852..b98a79cb4f4 100644 --- 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;