15 Dec
2012
15 Dec
'12
12:07 p.m.
Stanislav Lorenc wrote:
is there some way how to iterate over xlat sql query result ?
Perl.
For example: I need send for user multiple ipv6 prefixes and they are stored in sql table and each prefix is represented by record in table. Query return for example 4 rows.
update reply {
Framed-IPv6-Prefix := "%{sql:SELECT network FROM ipv6_prefixes WHERE service = "user_service" }" }
I am not able to find solution how to add all this records into reply.
FreeRADIUS should not implement yet another programming language. Use Perl. Alan DeKok.