Phil Mayers wrote: ... >> That would work, wouldn't it? > > Sure. Presumably you'd have to use some kind of dummy assign: > > update control { > Tmp-String-0 = %{sql:insert into ...}
No, "if (!x)" is the way to do. > ...not exactly intuitive. Don't know if you'd want to allow a bare > expansion though. Some kind of generalised "call" construct? > > if (!%{sql:update thing set ...}) { if (!"{%sql: update ...}") { # code to handle policy when update fails } Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html