Minor update for 4.0: expr and &Attribute-Name[*]

Alan DeKok aland at deployingradius.com
Sun Jul 24 17:02:49 CEST 2016


  As an example (useless, but an example)

update request {
	NAS-Port := 1
	NAS-Port := 2
	NAS-Port := 3
}

update reply {
	Filter-Id := "%{expr: 0 + &NAS-Port[*]}"
}

  Send it a packet, and you get:

	Filter-Id := "6"

  Minor, but nice.

  I've also been pushing updates to Alcatel's stupid struct attributes.  If anyone else has time for similar changes, it would be appreciated.

  Alan DeKok.




More information about the Freeradius-Devel mailing list