lpad on regular expression matches does not work

Alan DeKok aland at deployingradius.com
Thu Mar 4 16:56:17 CET 2021


On Mar 4, 2021, at 10:51 AM, Tomasz Chiliński via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> 
> W dniu 04.03.2021 16:26, Jorge Pereira napisał(a):
>> Tomasz,
> 
> Guys,
> 
> thanks for all replies and clarifications!
> 
> I've also found code fragment which seems to register all xlat function handlers:
> 
> https://github.com/FreeRADIUS/freeradius-server/blob/90026932c8fe92751b1409129ad2dedf6bab1a24/src/lib/unlang/xlat_builtin.c#L3318-L3379

  That's for v4.  Don't look at that, look at the v3.0.x branch.

  You should be able to just edit src/modules/rlm_expr.c, function lpad_xlat().  it's that simple.

  Alan DeKok.




More information about the Freeradius-Users mailing list