SQL not a variable

Nicolas Breuer Nicolas.Breuer at belcenter.biz
Tue Apr 30 17:23:39 CEST 2019


Hello,

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 ?

Thanks





More information about the Freeradius-Users mailing list