26 Mar
2015
26 Mar
'15
5:09 a.m.
Thanks, I will take a look. I am able to do this via SQL purely: if ("%{sql: select count(*) from nas where REPLACE(REPLACE(community, \"-\", \"\"), \":\", \"\") = REPLACE(REPLACE(SUBSTRING(\"%{raw:Called-Station-Id}\",1,17),\"-\", \"\"), \":\", \"\")}" == 1) { But it's messy and just masks the issue. Also, when we insert in to radpostauth and radacct etc the MAC format is still wrong. I am sure there is a way to format the incoming raw Called-Station-Id in dynamic clients? Thanks James