summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorMichael Newton <miken32@gmail.com>2013-02-14 21:46:40 -0800
committerMichael Newton <miken32@gmail.com>2013-02-14 22:01:24 -0800
commit00109fef227cd83f9e440b663f110f93ffdd1d6e (patch)
treeddfa731308ba69007b330f18f49268b70262be07 /usr
parent91ca7e9fa01bec4e6c9e83674cb109806a67df51 (diff)
downloadpfsense-00109fef227cd83f9e440b663f110f93ffdd1d6e.zip
pfsense-00109fef227cd83f9e440b663f110f93ffdd1d6e.tar.gz
while we're here, send named termination causes
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_captiveportal.php2
-rw-r--r--usr/local/www/widgets/widgets/captive_portal_status.widget.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index 370420c..15a2227 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -50,7 +50,7 @@ if (isset($_POST['zone']))
$cpzone = $_POST['zone'];
if ($_GET['act'] == "del" && !empty($cpzone)) {
- captiveportal_disconnect_client($_GET['id']);
+ captiveportal_disconnect_client($_GET['id'], RADIUS_TERM_ADMIN_RESET);
Header("Location: status_captiveportal.php?zone={$cpzone}");
exit;
}
diff --git a/usr/local/www/widgets/widgets/captive_portal_status.widget.php b/usr/local/www/widgets/widgets/captive_portal_status.widget.php
index 48651d7..1393fc0 100644
--- a/usr/local/www/widgets/widgets/captive_portal_status.widget.php
+++ b/usr/local/www/widgets/widgets/captive_portal_status.widget.php
@@ -46,7 +46,7 @@ require_once("captiveportal.inc");
if (($_GET['act'] == "del") && (!empty($_GET['zone']))) {
$cpzone = $_GET['zone'];
- captiveportal_disconnect_client($_GET['id']);
+ captiveportal_disconnect_client($_GET['id'], RADIUS_TERM_ADMIN_RESET);
}
flush();
OpenPOWER on IntegriCloud