How to use checkval

Fajar A. Nugraha list at fajar.net
Thu Mar 14 07:58:17 CET 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130314/c3598eb2/attachment.html>


More information about the Freeradius-Users mailing list