summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-08-27 20:36:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-08-27 20:36:04 +0000
commitd3665a71bf9a323c094d363878c71afcc870bce1 (patch)
treee05c4876213e2d311a95eae8c0110eb406970020 /usr
parenteb3a6710d55a25c0e92f20f2034680e67abe82a5 (diff)
downloadpfsense-d3665a71bf9a323c094d363878c71afcc870bce1.zip
pfsense-d3665a71bf9a323c094d363878c71afcc870bce1.tar.gz
Fix CP not sending Acct-Session-Time to Radius during accounting update Ticket #1434
Diffstat (limited to 'usr')
-rw-r--r--usr/local/captiveportal/radius_accounting.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/captiveportal/radius_accounting.inc b/usr/local/captiveportal/radius_accounting.inc
index 64ae05d..fb8ece3 100644
--- a/usr/local/captiveportal/radius_accounting.inc
+++ b/usr/local/captiveportal/radius_accounting.inc
@@ -236,6 +236,7 @@ function RADIUS_ACCOUNTING_STOP($ruleno,$username,$sessionid,$start_time,$radius
$racct->putAttribute(RADIUS_ACCT_OUTPUT_PACKETS, $volume['output_pkts'], "integer");
$racct->putAttribute(RADIUS_ACCT_OUTPUT_OCTETS, $volume['output_bytes_radius'], "integer");
$racct->putAttribute(RADIUS_ACCT_OUTPUT_GIGAWORDS, $volume['output_gigawords'], "integer");
+ $racct->putAttribute(RADIUS_ACCT_SESSION_TIME, $session_time, "integer");
if (!$interimupdate)
$racct->putAttribute(RADIUS_ACCT_TERMINATE_CAUSE, $term_cause);
OpenPOWER on IntegriCloud