users file and "!*" comparisons
Joe Maimon
jmaimon at ttec.com
Mon Aug 13 08:25:47 CEST 2007
This issue comes up now and again. This is the patch I have been using
for the past year or so.
Daniel Larsson wrote:
> This little patch solves my problem.
>
>
>
> ------------------------------------------------------------------------
>
> Index: src/main/valuepair.c
> ===================================================================
> RCS file: /source/radiusd/src/main/valuepair.c,v
> retrieving revision 1.60.2.4.2.1
> diff -u -r1.60.2.4.2.1 valuepair.c
> --- src/main/valuepair.c 9 Feb 2007 15:56:12 -0000 1.60.2.4.2.1
> +++ src/main/valuepair.c 7 Aug 2007 16:52:12 -0000
> @@ -284,7 +284,7 @@
> * to not find it, then we succeeded.
> */
> if (check_item->operator == T_OP_CMP_FALSE)
> - return 0;
> + continue;
> else
> return -1;
> }
>
>
> ------------------------------------------------------------------------
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 200-cmp-operators-fix.dpatch
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20070813/e401f7b8/attachment.ksh>
More information about the Freeradius-Devel
mailing list