On Oct 31, 2018, at 1:08 AM, Sam T <givemesam@gmail.com> wrote:
Here is the debug output from the unlang you shared with me. Any extra direction would be greatly appreciated!
User-Password in the request is correct. Login OK: [22-22-22-22-22-11/password] (from client wificpa port 0) # Executing section post-auth from file /etc/freeradius/sites-enabled/wifirush.rad +- entering group post-auth {...} ++? if (reply:WISPr-Session-Terminate-Time) ? Evaluating (reply:WISPr-Session-Terminate-Time) -> TRUE ++? if (reply:WISPr-Session-Terminate-Time) -> TRUE ++- entering if (reply:WISPr-Session-Terminate-Time) {...} expand: %{WISPr-Session-Terminate-Time} - %l -> - 1540961491
If WISPr-Session-Terminate-Time is in the reply, then the expansion should be: Session-Timeout := "%{expr:%{reply:WISPr-Session-Terminate-Time} - %l}" Alan DeKok.