different answers depending on the time

Alan DeKok aland at deployingradius.com
Wed Nov 16 15:04:47 CET 2016


> On Nov 16, 2016, at 5:55 AM, Marcin <marcin at nicram.net> wrote:
> 
> Thank your.
> I understand That %H represents hours.
> Can I do with this way?
> if ( %H > 22 and %H < 10 )

  Read "man unlang".  The syntax is documented.

  if (("%H" > 22) && ("%H" < 10)) ...

  Alan DeKok.



More information about the Freeradius-Users mailing list