Hello

In my PostAuthHook function, i need to get the 
framed-ip-address that will be sent to the user.

The first line below works perfectly
my $username = $p->getAttrByNum($Radius::Radius::USER_NAME);
but the second doesn't want to works.
my $ipaddress = $p->getAttrByNum($Radius::Radius::FRAMED_IP_ADDRESS);

Note: 
$p = ${$_[0]}; # At the begining of my PostAuthHook function

When i look the debug file i can see
...
Code:       Access-Accept
Identifier: 250
Authentic:  1234567890123456
Attributes:
        Framed-IP-Address = 10.1.0.16
        Service-Type = Framed-User

So How can i Get the ip address (10.1.0.16) in a PostAuthHook Function ?

Thanks a lot

===
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