8 Jan
2010
8 Jan
'10
5:25 a.m.
Alan DeKok <aland@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