diff options
author | Michael Newton <miken32@gmail.com> | 2013-02-14 21:46:40 -0800 |
---|---|---|
committer | Michael Newton <miken32@gmail.com> | 2013-02-14 22:01:24 -0800 |
commit | 00109fef227cd83f9e440b663f110f93ffdd1d6e (patch) | |
tree | ddfa731308ba69007b330f18f49268b70262be07 /usr | |
parent | 91ca7e9fa01bec4e6c9e83674cb109806a67df51 (diff) | |
download | pfsense-00109fef227cd83f9e440b663f110f93ffdd1d6e.zip pfsense-00109fef227cd83f9e440b663f110f93ffdd1d6e.tar.gz |
while we're here, send named termination causes
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_captiveportal.php | 2 | ||||
-rw-r--r-- | usr/local/www/widgets/widgets/captive_portal_status.widget.php | 2 |
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(); |