Match on undefined attribute.

Alan DeKok aland at deployingradius.com
Thu Jan 9 22:08:48 CET 2020



> On Jan 9, 2020, at 4:05 PM, Matthew Schumacher <matt.s at aptalaska.net> wrote:
> 
> I can't seem to write a simple condition to match on a missing attribute.  I just want to do this:
> 
>                 if( ! &reply:Filter-Id ) {
>                         update reply {
>                                 Vendor-Address-List := foo
>                         }
>                 }
> 
> 
> However, that always returns true, even if Filter-Id isn't returned in the Access-Accept.

  What does the debug output show?

  That should work.

  Alan DeKok.




More information about the Freeradius-Users mailing list