Alan DeKok <al...@deployingradius.com> writes: > Maybe something like: > > if (*Cisco-AVpair =~ /^client-mac-address=(.+)$/) { > > i.e. "*" means "any one matches"
Is it ever useful to match on a single one? You'll always have a hard time knowing the order and number of attributes. I believe you could just as well overload the meaning of if (Cisco-AVpair =~ /^client-mac-address=(.+)$/) { to mean "any one matches" regardless of the number of Cisco-AVpair attributes. Bjørn - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html