Doubts about redundant { ...} section
Alan DeKok
aland at deployingradius.com
Tue Dec 1 22:25:07 CET 2015
On Dec 1, 2015, at 4:22 PM, Jorge Pereira <jpereiran at gmail.com> wrote:
> Anyone know if is possible to retrieve a rcode from redundant section?
Yes.
> e.g:
>
> redundant {
> sql_accounting
> detail_buffered_queue
> }
>
> if (rcode != ok) {
> linenlog-problems-with-redundant-acct
> }
You just do:
if (!ok) {
...
}
The "return code" from a redundant section is no different than the return code from a module.
Alan DeKok.
More information about the Freeradius-Users
mailing list