Multiple NAS-IP-Address check attributes in FreeRadius 3.x

Jackie dark17 at
Fri Dec 3 16:55:26 CET 2021

In 2.x I can add a attributes in radcheck table use the =~ operator, and a regex|

insert into radcheck (username,attribute,op,value) values ('username','NAS-IP-Address','=~','|');

but in 3.x it failed, follow is error message 

(1) sql: ERROR: Error parsing value: Failed resolving "|" to IPv4 address: Name or service not known 

(1) sql: ERROR: Error parsing user data from database result 

(1) sql: ERROR: Error getting check attributes

what can I do?

More information about the Freeradius-Users mailing list