summaryrefslogtreecommitdiffstats
path: root/etc/inc/radius.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-17 17:58:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-17 17:58:39 +0000
commitf86e2cf93565e1db982bf5ea736227226b728577 (patch)
treed25215066ebddfc73e8b60b935ea0d1a79f64236 /etc/inc/radius.inc
parentb1f7e75e2a96f4783a81e3323adf2bdffe899663 (diff)
downloadpfsense-f86e2cf93565e1db982bf5ea736227226b728577.zip
pfsense-f86e2cf93565e1db982bf5ea736227226b728577.tar.gz
"Always sent Session-Time in accounting packets. This makes most prepaid systems to work again."
Obtained from m0n0wall
Diffstat (limited to 'etc/inc/radius.inc')
-rw-r--r--etc/inc/radius.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/radius.inc b/etc/inc/radius.inc
index 0077194..fa1925a 100644
--- a/etc/inc/radius.inc
+++ b/etc/inc/radius.inc
@@ -1036,7 +1036,7 @@ class Auth_RADIUS_Acct extends Auth_RADIUS
$this->putAttribute(RADIUS_USER_NAME, $this->username);
}
$this->putAttribute(RADIUS_ACCT_STATUS_TYPE, $this->status_type);
- if (isset($this->session_time) && $this->status_type == RADIUS_STOP) {
+ if (isset($this->session_time)) {
$this->putAttribute(RADIUS_ACCT_SESSION_TIME, $this->session_time);
}
if (isset($this->authentic)) {
OpenPOWER on IntegriCloud