On Mon, Oct 15, 2001 at 11:40:24AM +1000, Hugh Irvine wrote: | If you want to add attributes in a PostAuthHook, you would do this: | | sub | { | my $p = ${$_[0]}; | my $rp = ${$_[1]}; | my $result = ${$_[2]}; | | if ($result == $main::ACCEPT) | { | $rp->add_attr('Service-Type', 'Framed-User'); | $rp->add_attr('Framed-Protocol', 'PPP'); | } | return; | }
Yeah, that works. :-) I must've had a serious brain glitch when I tried to get $Radius::Radius::FRAMED_MTU and so on working. I still don't understand why I couldn't get the "AddToReply" to work, but that's not important now. Thanks for your time, and an incredible piece of software. :-) Jo -- "If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed." -- Albert Einstein === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.