cidr cast

Alan DeKok aland at deployingradius.com
Wed Apr 15 14:31:39 CEST 2015


On Apr 15, 2015, at 4:29 AM, Peter Balsianok <balsianok.peter at gmail.com> wrote:
> May i use cid cast also for NAP-IP-Address ?
> 
> if (<cidr>&NAS-IP-Address == 192.168.0.0/24) {
>  update request {
> 
> }

  Yes.

  The left hand side will be cast to a CIDR with the same net mask as the RHS.

  Alan DeKok.




More information about the Freeradius-Users mailing list