return codes of update stanzas

Alan DeKok aland at
Fri Feb 15 11:15:58 CET 2008

Stefan Winter wrote:
> these stanzas return "notfound" on places where I wouldn't expect it...

  The issue is that the return codes from an "update" section shouldn't
affect earlier return codes, as in:

	if (reject) {
		update reply {
			Reply-Message = "You suck!"
		} # if this returns "updated"
	} # this returns "updated", too, and NOT "reject"

> Obviously, the server performs the request and reply updates. Debug output 
> says that both returned "notfound" though. Shouldn't they return "updated", 
> at least for the sake of clarity when reading debug output? At first glance, 
> I thought I got the syntax of unlang wrong when I read "notfound".

  It's about setting expectations, I guess.

  Alan DeKok.

More information about the Freeradius-Devel mailing list