Hi - if there any way to conditionally assign returned variables in users file? For example:<div><br></div><div><div>DEFAULT User-Name =~ "^([aA-zZ]+)-([aA-zZ]+)$", Cleartext-Password := "csetestp"</div>
<div> Alc-Subsc-ID-Str := "%{NAS-Port-Id}",</div><div> Alc-Subsc-Prof-Str := "%{1}",</div><div><br></div><div> Now I want to do this:</div><div><br></div><div> if %{2} == 'value 1'</div>
<div> then Framed-IP-Address := 21.0.0.2</div><div> if %{2} == 'value 2'</div><div> then Framed-IP-Address := 31.0.0.2</div><div><br></div><div> after this conditional assignment, continue normally:</div>
<div> </div><div> Alc-SLA-Prof-Str := "%{2}",</div><div> Alc-MSAP-Serv-Id := "100",</div><div> Alc-MSAP-Policy := "msaps",</div><div> Alc-Default-Router := 20.0.0.1,</div>
<div> Framed-IP-Netmask := 255.255.0.0,</div><div> Session-Timeout := 600,</div><div> Fall-Through = Yes</div><div>DEFAULT NAS-Port-Id =~ "^([^:]+):"</div><div> Alc-MSAP-Interface := "port-%{1}"</div>
<div><br></div><div><br></div><div>Thanks,<br>Marlon</div></div>