Stripping the calling station id

Alan Buxey alan.buxey at gmail.com
Fri Jun 22 20:02:48 CEST 2018


hi,


> I hope the NAS doesn't change the form or I will be screwed !


one would assume that the MAC address would always be there - so if you
wrote a regex that matched
the MAC address as its core component rather than care about the start and
end , you would still get that value out
as the %{1} return

- left as a nice exercise for you  :)

alan


More information about the Freeradius-Users mailing list