Luca Adamo wrote: > I'm also trying to put the source code of that function from sql.c to my > module.
I would suggest *not* re-writing the SQL module. Instead, look at rlm_sqlippool in git.freeradius.org. It leverages an existing SQL module to do additional queries. It means that you don't have to duplicate all of the functionality of rlm_sql. And you don't have to duplicate all of the MySQL/PostgreSQL/Oracle/etc drivers, either. Plus, rlm_sqlippool.c is a *lot* easier to understand than rlm_sql. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

