$rauth->putAttribute(RADIUS_NAS_PORT, $nas_port);
// Extra data to identify the client and nas
- $racct->putAttribute(RADIUS_FRAMED_IP_ADDRESS, $clientip);
- $racct->putAttribute(RADIUS_CALLING_STATION_ID, $callingstationid);
- $racct->putAttribute(RADIUS_CALLED_STATION_ID, $calledstationid);
+ $rauth->putAttribute(RADIUS_FRAMED_IP_ADDRESS, $clientip);
+ $rauth->putAttribute(RADIUS_CALLING_STATION_ID, $callingstationid);
+ $rauth->putAttribute(RADIUS_CALLED_STATION_ID, $calledstationid);
// Send request
$result = $rauth->send();