return statement failure

John Kristoff jtk at
Thu Sep 22 16:50:24 CEST 2016

On Thu, 22 Sep 2016 14:23:36 +0000
Alan DeKok <aland at> wrote:

>   There's a "return" statement.
> 	if (ok) {
> 		return
> 	}

Thanks Alan, but I'm still a little confused.  If I have this:

  post-auth {
          if (ok) {

That results in this:

   # Loading post-auth {...}
  /etc/raddb/sites-enabled/default[...]: Failed to find "return" in the "modules" section.
  /etc/raddb/sites-enabled/default[...]: Failed to parse "return" entry.
  /etc/raddb/sites-enabled/default[...]: Errors parsing post-auth section.

If I replace the return with a noop, no errors.  What am I missing now?


More information about the Freeradius-Users mailing list