Policy construct for string "concatenation"
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Thu Oct 13 19:29:23 CEST 2011
On 13 Oct 2011, at 19:15, Ray Scholl wrote:
> Good afternoon:
>
> I was hoping to see if anyone could provide the best syntax to concatenate two strings being used in a comparison (policy.conf).
if("%{My-Var1}%{My-Var2}" == "%{My-Var3}"){
}
Left operand can be attribute ref or string, right operand must be a string. FreeRADIUS takes care of the type conversions...
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111013/9235d4e6/attachment.html>
More information about the Freeradius-Users
mailing list