help need with mysql statement in freeradius

A.L.M.Buxey at A.L.M.Buxey at
Sat May 17 20:38:12 CEST 2008


>                $RAD_REPLY{'Reply-Message'} = "Mac Address Successfully
> updated in database $RAD_REQUEST{'Calling-Station-Id'}";
>                return RLM_MODULE_OK;
>                # Do some logging.
>        &radiusd::radlog(1,"rlm_perl:: NEW MAC updated in database.");

note the order of your code here. you are 'return'ing before you've
donr the radlog bit. ie the radlog will never be hit because
you've already returned from the subroutine.  slap the radlog
straight before the return and you'll get the values
in the radius.log


More information about the Freeradius-Users mailing list