Calling a module name from a dynamic variable
a.cudbardb at freeradius.org
Thu Nov 5 15:52:47 CET 2015
> On Nov 5, 2015, at 9:47 AM, Franks Andy (IT Technical Architecture Manager) <Andy.Franks at sath.nhs.uk> wrote:
> It's an SQL "named" module, just logs results from post-auth.
> Its name is really sql-radius-lan0 or sql-radius-lan1 or whatever, depending on certain circumstances.
You can't do that and with the way the code is structured it'd be very hard to support that.
Use switch and enumerate the possible modules you want to call.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Freeradius-Users