allowing multiple values through the attribute filter

Phil Mayers p.mayers at imperial.ac.uk
Mon Oct 22 13:31:01 CEST 2007


> PS I've tried setting 2 values...as per the 
> 
> Framed-Protocol == PPP,
> Framed-Protocol == SLIP,
> 
> part.....eg
> 
> Tunnel-Private-Group-Id == testvlan,
> Tunnel-Private-Group-Id == othervlan,
> 
> but that just stops EITHER of the return attributes from working.  bug?


>From what I can see the code ANDs the filters for each attribute, and
the comment implies this is intentional; presumably for constructs such
as:

Session-Timeout >= 300,
Session-Timeout <= 28800,

Can you not do:

Tunnel-Private-Group-Id =~ "^(testvlan|othervlan)$"

?




More information about the Freeradius-Users mailing list