Mikhail Novikov wrote: > Hello > > Please, what the hint should I add to hints file to remove Nas-Port-ID > attribute > > Nas-Port-ID = GigabitEthernet 0/0/3.23203101:2321-121 > > and add PortID like this > > PortID = 2321-121
Use a regular expression to re-write it:
DEFAULT NAS-Port-Id =~ ".*:(.*)"
NAS-Port-Id = "%{1}"
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

