How to use checkval

Danny Kurniawan danny.kurniawan at fairchildsemi.com
Thu Mar 14 11:39:35 CET 2013


Hi All,

All of the suggestion works fine :)

So just wondering, will this unlang method works for radius 1.x version? If
its not working, what is the method that i can use in that version?

Thanks
Danny

On Thu, Mar 14, 2013 at 2:58 PM, Fajar A. Nugraha <list at fajar.net> wrote:

> On Thu, Mar 14, 2013 at 5:28 PM, Danny Kurniawan <
> danny.kurniawan at fairchildsemi.com> wrote:
>
>> Thanks a lot for your reply.
>>
>> Yes i got it working. However one more question :
>>
>> what is the operator used to check if the value is empty ?
>>
>> if(control:Calling-Station-Id == ""){
>>         reject
>>     }
>>
>> *not working for above
>>
>>
> Not sure. Maybe
>
> if( !("%{control:Calling-Station-Id}") ){
>    reject
> }
>
> --
> Fajar
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
Best Regards,
Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130314/895c31bc/attachment-0001.html>


More information about the Freeradius-Users mailing list