SQL not a variable
Matthew Newton
mcn at freeradius.org
Tue Apr 30 17:31:24 CEST 2019
On Tue, 2019-04-30 at 15:23 +0000, Nicolas Breuer wrote:
> In the module IP POOL, I'm trying to use the "%" SQL chars.
>
> allocate-find = "SELECT ip_address FROM radippool WHERE (pool_name
> like '%{reply:Pool-Suffix}*\%' and pool_name not like
> '\%STAT\%').....
>
> The issue is that the module expand the %S as a variable. (Time)
> What can I do to avoid that ?
"%%" expands to "%".
--
Matthew
More information about the Freeradius-Users
mailing list