unlang question

Alan DeKok aland at deployingradius.com
Fri Jul 6 12:24:21 CEST 2007


Enrik Berkhan wrote:
> Another artificial example that might surprise the novice unlang user:

  It's not that artificial.

  1) "update" sections should change the return code only
     when something goes wrong -> fix has been committed

  2) "else" / "elsif" sections should NOT change the return
     code when they are not taken -> fix has been committed.

  Please try it again.  You should not need the "always-ok" in the "if
(ok)" block, or the "always-reject" in the "if (reject)" block.

  Alan DeKok.



More information about the Freeradius-Devel mailing list