Multivalued attributes

Phil Mayers p.mayers at imperial.ac.uk
Wed Jul 30 11:48:33 CEST 2014


On 29/07/14 18:44, Arran Cudbard-Bell wrote:

>> if (Attr[*] =~ /regex/)
>
> Yes, where each instance of attr would be checked against the regex, and if any matched
> the condition would be true.

FWIW "*" to me says "all" and implies "and", not "or" semantics. 
However, I think we are (well, I am ;o) probably well into bikeshedding 
here. No syntax will satisfy everyone.

I guess use whatever is easiest to integrate into unlang parsing and can 
perform well.


More information about the Freeradius-Users mailing list