multiattribute testing in git 1411859

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Aug 6 17:59:31 CEST 2014


On 6 Aug 2014, at 11:22, Franks Andy (RLZ) IT Systems Engineer <Andy.Franks at sath.nhs.uk> wrote:

> Thanks Arran,
>  Can you confirm whether we should be able to do something like :
> 
> If (&control:attribute[*] == "test") {
> With the control:attribute being either just a multivalue attribute, or
> one from the cache?

Not yet, i've been thinking about how to do that in a clean way...
and I need it to for a project, so it's definitely high on my stack
of stuff to write.

For now, the above statement would hopefully produce an error on startup.

For now just use foreach.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140806/55e3968d/attachment.pgp>


More information about the Freeradius-Users mailing list