case-statement regex

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Jan 7 19:09:46 CET 2016


> On 7 Jan 2016, at 12:43, O'Connell, Ryan <ryan.oconnell at viasat.com> wrote:
> 
> 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.
> 

It's being discussed in:

	https://github.com/FreeRADIUS/freeradius-server/issues/1486#issuecomment-169694275

I think it's quite a useful feature, especially once we have fall-through.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160107/bd6e2f2d/attachment.sig>


More information about the Freeradius-Users mailing list