Thanks Arran. Unfortunately the server fails to start with the case statement as: case /(abc)/$ { The error is: /etc/raddb/sites-enabled/dhcp[169]: Expecting section start brace '{' after "case /" I put the quotes around the regex in hopes that would help, allowing the server to start, but obviously it doesn’t resolve the issue. Thanks for taking a look. -Ryan
On 6 Jan 2016, at 22:46, Arran Cudbard-Bell wrote:
On 6 Jan 2016, at 22:09, O'Connell, Ryan wrote:
Using version 3.0.10. Can’t seem to implement regex matching with case statements. The request always results in “def” even though the string in the request contains “abc".
Thanks for the feature request ;)
It'd be case /(abc)/$ { if it worked, but i'm fairly certain it doesn't, unless Alan added at some point.
-Arran
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2