update replay

Fajar A. Nugraha list at fajar.net
Mon Feb 13 10:52:52 CET 2012


On Mon, Feb 13, 2012 at 4:44 PM, Miha Zoubek <miha at softnet.si> wrote:
> Hi,
>
> I have one problem:
>
>
> if (%{NAS-IP-Address} != "xxx.xxx.xxx.xxx"){


>  Module: Checking post-auth {...} for more modules to load
> Bare %{...} is invalid in condition at: %{NAS-IP-Address} !=
> "xxx.xxx.xx.xxx")


The message should be quite obvious. Try adding quotes:

if ("%{NAS-IP-Address}" != "xxx.xxx.xxx.xxx"){

-- 
Fajar




More information about the Freeradius-Users mailing list