updating avp lists with unlang and operators
aland at deployingradius.com
Wed Aug 1 16:36:53 CEST 2007
Stephan Jaeger wrote:
> and i have a "detail" instance in the acct section, the line that is
> written to the detail log is
> "User-Name := foobar"
Yeah, the operators aren't changed when the attributes are added to
the list. This is in 1.1.x, too.
> I guess the problem lies in my_pairmove() in evaluate.c (line 774). The
> avp is copied from the src avp list to the dst avp list and the operator
> is not touched. Maybe the operator in the dst list should default to "="
> if the list is "reply" or "request"?
Once the attribute has been moved to the destination list, the
operator should be updated to '='.
More information about the Freeradius-Devel