Stripping the calling station id

Alan DeKok aland at deployingradius.com
Fri Jun 22 16:08:03 CEST 2018


On Jun 22, 2018, at 10:04 AM, Kefi Ammar . <kefiammar at gmail.com> wrote:
> 
> Well this is amazing, going to the right direction, now the
> calling-station-id is = 94:a7:b7:3e:93:5b# so there is the extra # in it
> if I can put that away it would work perfectly !!

  Use:

if (Calling-Station-Id =~ /pppoe ([^#]+)#/)

  That should be it.  Finally...

 Alan DeKok.



More information about the Freeradius-Users mailing list