14 Mar
2014
14 Mar
'14
9:49 a.m.
Chaigneau, Nicolas wrote:
I modified rlm_perl to read the subsection "perl_conf" in instantiate, populate a hash, and define a new perl hash passed to the perl code whenever a section is called. This hash can be manipulated in the same way as the attribute hashes, for instance:
our (%RAD_REQUEST, %RAD_REPLY, %RAD_REQUEST_PROXY_REPLY, %RAD_CHECK, %RAD_PERLCONF);
That's useful.
If people is interested, I can share the code. I have no idea how to submit a git patch though, but I can provide the modified file as is.
That's fine. Just mail it to me and I'll take a look. Alan DeKok.