22 Jun
2018
22 Jun
'18
9:54 a.m.
On Jun 22, 2018, at 9:53 AM, Kefi Ammar . <kefiammar@gmail.com> wrote:
I am sure that I've put all of it there and now when I replaced it with %{1} I have a different result in the debug output :
# Executing section authorize from file /etc/freeradius/sites-enabled/default +- entering group authorize {...} expand: %{Calling-Station-ID} -> lag-50:1201.0#BNG Kasbah###pppoe 94:a7:b7:3e:93:5b# ++[request] returns notfound ++? if (Calling-Station-Id =~ /pppoe ([^#]+#/) ERROR: Failed compiling regular expression: Unmatched ( or \(
Use: if (Calling-Station-Id =~ /pppoe ([^#]+#)/) Alan DeKok.