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

Alan DeKok aland at deployingradius.com
Tue Aug 2 13:44:29 CEST 2016


On Aug 2, 2016, at 12:43 PM, Stefan Winter <stefan.winter at restena.lu> wrote:
> 
> Hi,
> 
>> update request {
>> 	NAS-Port := 1
>> 	NAS-Port := 2
>> 	NAS-Port := 3
>> }
> 
> Doesn't := overwrite attributes? After the above, I'd expect one
> instance of NAS-Port to be set, with the value of three (after its two
> previous assignments have been immediately overwritten).

  Yes, sorry.  That should be "+=" instead of ":="

> Not three occurences of the NAS-Port attribute, with three distinct
> values? Let alone that RFC2865 only allows for one single instance.

  It's just an example.  RFC compliance is secondary.

  Alan DeKok.



More information about the Freeradius-Devel mailing list