unlang conditionals

2011-05-16 Thread d...@hotmail.com
://freeradius.1045715.n5.nabble.com/unlang-conditionals-tp4400590p4400590.html Sent from the FreeRadius - User mailing list archive at Nabble.com.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: unlang conditionals

2011-05-16 Thread d...@hotmail.com
.n5.nabble.com/unlang-conditionals-tp4400590p4400608.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: unlang conditionals

2011-05-16 Thread Phil Mayers
On 16/05/11 15:37, d...@hotmail.com wrote: Hello... This is probably a very silly issue. I have the following on my default file: update control { Tmp-String-0 = %{sql:select a from paq where CallingStationId='%{Calling-Station-Id}' Tmp-String-5 = %{sql:select b from paq where

Re: unlang conditionals

2011-05-16 Thread d...@hotmail.com
I found out after checking other posts that the correct syntax of the IF should be as follows: if (%{control:Tmp-String-0} %{control:Tmp-String-5} ) { } this is working now for me. -- View this message in context: http://freeradius.1045715.n5.nabble.com/unlang-conditionals