On Wed, 31 Jul 2002 06:37:16 -0700 (PDT)
soybean tofu <[EMAIL PROTECTED]> wrote:

> There is a bug in the code, I learned about it reading
> some old emails. It's been there for a while, but it's
> so small and simple that I just make the change
> manually when I grab a new version.
> 
> Here is the patch. Just read it and apply the change
> manually.
> 
> --- rlm_preprocess.c.orig       Fri Jul 19 09:34:06
> 2002
> +++ rlm_preprocess.c    Sat Jul 27 21:40:38 2002
> @@ -123,7 +123,7 @@
> 
>                 if (vendorpec != 9) continue; /* not a
> Cisco VSA, continue */
> 
> -               if ((vp->attribute & 0xffff) != 1)
> continue; /* Cisco-AVPair */
> +               if ((vp->attribute & 0xffff) == 1)
> continue; /* Cisco-AVPair */
> 
>                 /*
>                  *  We strip out the duplicity from
> the value field,
> 
--snip--

Thanks. That did the trick. Has this been fixed in 0.7?

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc


Attachment: msg07487/pgp00000.pgp
Description: PGP signature

Reply via email to