15 Apr
2015
15 Apr
'15
12:25 p.m.
elsif ("%{Cisco-AVPair[*]}" =~ /client-mac-address=(.*)/) { update control { My-Client-Mac-Address = "%{1}" }
"%{Cisco-AVPair[*]}" is not the same as &Cisco-AVPair[*]. The first example means concatenate all values of this attribute together using newlines. The second example means operate on all instances of this attribute. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2