summaryrefslogtreecommitdiffstats
path: root/etc/inc/radius.inc
diff options
context:
space:
mode:
authorMichael Newton <miken32@gmail.com>2013-02-14 15:19:06 -0800
committerMichael Newton <miken32@gmail.com>2013-02-14 15:19:06 -0800
commit62f20eab8855915bc87c23dd13025e922dc1606d (patch)
treede112ec9e6441c111f20ff7c522089df74a8d06a /etc/inc/radius.inc
parent2ccc41c1c537994e10c9deb4ac061ce55edb6537 (diff)
downloadpfsense-62f20eab8855915bc87c23dd13025e922dc1606d.zip
pfsense-62f20eab8855915bc87c23dd13025e922dc1606d.tar.gz
add support for RADIUS NAS accounting, fixes redmine feature request 2143
Diffstat (limited to 'etc/inc/radius.inc')
-rw-r--r--etc/inc/radius.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/etc/inc/radius.inc b/etc/inc/radius.inc
index 7e69e36..8bddec8 100644
--- a/etc/inc/radius.inc
+++ b/etc/inc/radius.inc
@@ -1161,4 +1161,38 @@ class Auth_RADIUS_Acct_Update extends Auth_RADIUS_Acct
var $status_type = RADIUS_UPDATE;
}
+/**
+ * class Auth_RADIUS_Acct_On
+ *
+ * Class for sending Accounting-On updates
+ *
+ * @package Auth_RADIUS
+ */
+class Auth_RADIUS_Acct_On extends Auth_RADIUS_Acct
+{
+ /**
+ * Defines the type of the accounting request.
+ * It is set to RADIUS_ACCOUNTING_ON by default in this class.
+ * @var integer
+ */
+ var $status_type = RADIUS_ACCOUNTING_ON;
+}
+
+/**
+ * class Auth_RADIUS_Acct_Off
+ *
+ * Class for sending Accounting-Off updates
+ *
+ * @package Auth_RADIUS
+ */
+class Auth_RADIUS_Acct_Off extends Auth_RADIUS_Acct
+{
+ /**
+ * Defines the type of the accounting request.
+ * It is set to RADIUS_ACCOUNTING_OFF by default in this class.
+ * @var integer
+ */
+ var $status_type = RADIUS_ACCOUNTING_OFF;
+}
+
?>
OpenPOWER on IntegriCloud