summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-01-28 14:02:12 -0500
committerjim-p <jimp@pfsense.org>2016-01-28 14:03:27 -0500
commitab225849ced6756452b0244abb9d42db4830b68f (patch)
tree4e5711163507f85a9ff8dce32bc011bd71127f7d /src/usr/local/www/services_captiveportal.php
parentc523175841ac6199bf7bf4b76151fc4518896cf4 (diff)
downloadpfsense-ab225849ced6756452b0244abb9d42db4830b68f.zip
pfsense-ab225849ced6756452b0244abb9d42db4830b68f.tar.gz
Add option for FreeRADIUS-friendly stop/start RADIUS accounting updates.
It needs a sleep between the stop and start, and it needs slightly different figures for start/stop time in the request.
Diffstat (limited to 'src/usr/local/www/services_captiveportal.php')
-rw-r--r--src/usr/local/www/services_captiveportal.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
index c3076da..21eacd2 100644
--- a/src/usr/local/www/services_captiveportal.php
+++ b/src/usr/local/www/services_captiveportal.php
@@ -919,7 +919,7 @@ $group = new Form_Group('Accounting updates');
$group->add(new Form_Checkbox(
'reauthenticateacct',
null,
- 'No Accounting updates',
+ 'No updates',
$pconfig['reauthenticateacct'] == "",
""
))->displayasRadio();
@@ -927,7 +927,7 @@ $group->add(new Form_Checkbox(
$group->add(new Form_Checkbox(
'reauthenticateacct',
null,
- 'Stop/start Accounting',
+ 'Stop/Start',
$pconfig['reauthenticateacct'] == 'stopstart',
"stopstart"
))->displayasRadio();
@@ -935,7 +935,15 @@ $group->add(new Form_Checkbox(
$group->add(new Form_Checkbox(
'reauthenticateacct',
null,
- 'Interim update',
+ 'Stop/Start (FreeRADIUS)',
+ $pconfig['reauthenticateacct'] == 'stopstartfreeradius',
+ "stopstartfreeradius"
+))->displayasRadio();
+
+$group->add(new Form_Checkbox(
+ 'reauthenticateacct',
+ null,
+ 'Interim',
$pconfig['reauthenticateacct'] == 'interimupdate',
"interimupdate"
))->displayasRadio();
OpenPOWER on IntegriCloud