>
> Hello
> I would like to know how to
> get Framed-Ip-Address value
> into a posthook function
> I have tried
> my $framedip = $p->getAttrByNum($Radius::Radius::FRAMED_IP_ADDRESS);
> but it doesn't seem to work
> Thanks a lot to help me.
>

I guess you have confirmed that the incoming request has a Framed-IP-Address
attribute in it?

your hook should look something like this:

sub {
        my $p = ${$_[0]};
        my $framedip = $p->getAttrByNum($Radius::Radius::FRAMED_IP_ADDRESS);
}


Hope that helps.
Cheers.

-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to