usage of "FR_TOKEN op" parameter to pairmake ?
Alan DeKok
aland at deployingradius.com
Mon Feb 3 14:33:11 CET 2014
Chaigneau, Nicolas wrote:
> I'm trying to figure out the purpose of the last parameter to pairmake (FR_TOKEN op).
The operator is used in many configuration files. So... there needs
to be a way to create / use it.
> I assumed it was semantically equivalent to the following unlang syntax :
Yes.
> But, whatever the operator I'm using (T_OP_EQ, T_OP_ADD or T_OP_SET), it doesn't seem to have any effect. All attributes added through pairmake to the reply vp list are returned to the client anyway.
Yes, because you're manually appending them to the list.
If you call pairmove(), it uses the operators to move one list to another.
Alan DeKok.
More information about the Freeradius-Devel
mailing list