$racct->putAttribute(RADIUS_CALLING_STATION_ID, $callingstationid);
$racct->putAttribute(RADIUS_CALLED_STATION_ID, $calledstationid);
- /* Make this temporarly disabled to see if we still get errors
// Volume stuff: Ingress (Note: remove the explicit integer if the type conversion works like we expect)
$racct->putAttribute(RADIUS_ACCT_INPUT_PACKETS, $input_pkts, "integer");
$racct->putAttribute(RADIUS_ACCT_INPUT_OCTETS, $input_bytes_radius, "integer");
$racct->putAttribute(RADIUS_ACCT_OUTPUT_PACKETS, $output_pkts, "integer");
$racct->putAttribute(RADIUS_ACCT_OUTPUT_OCTETS, $output_bytes_radius, "integer");
$racct->putAttribute(RADIUS_ACCT_OUTPUT_GIGAWORDS, $output_gigawords, "integer");
- */
if (!$interimupdate)
$racct->putAttribute(RADIUS_ACCT_TERMINATE_CAUSE, $term_cause);
{
// Add support for sending NAS-IP-Address, set this explicitly as an ip_addr
- $this->putAttribute(RADIUS_NAS_IP_ADDRESS, getNasIP(), addr);
+ $this->putAttribute(RADIUS_NAS_IP_ADDRESS, getNasIP(), "addr");
// Add support for sending NAS-Identifier
$this->putAttribute(RADIUS_NAS_IDENTIFIER, getNasID());