diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-17 17:58:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-17 17:58:39 +0000 |
commit | f86e2cf93565e1db982bf5ea736227226b728577 (patch) | |
tree | d25215066ebddfc73e8b60b935ea0d1a79f64236 /etc/inc/radius.inc | |
parent | b1f7e75e2a96f4783a81e3323adf2bdffe899663 (diff) | |
download | pfsense-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.inc | 2 |
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)) { |