Plug-in Question
    Alan DeKok 
    aland at deployingradius.com
       
    Sun Jul  8 18:53:33 CEST 2007
    
    
  
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.
    
    
More information about the Freeradius-Users
mailing list