summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_mac.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-02-10 19:49:25 +0000
committerErmal <eri@pfsense.org>2012-02-10 19:49:25 +0000
commit0c1f27fffc01582f783ae199f068f4e613266183 (patch)
treee8a553908521c255e9b9a576bde0ff1e2023954b /usr/local/www/services_captiveportal_mac.php
parent10fb17c167e72f7ba83b526f6435be45deeb34be (diff)
downloadpfsense-0c1f27fffc01582f783ae199f068f4e613266183.zip
pfsense-0c1f27fffc01582f783ae199f068f4e613266183.tar.gz
Correct disconnection of macs
Diffstat (limited to 'usr/local/www/services_captiveportal_mac.php')
-rwxr-xr-xusr/local/www/services_captiveportal_mac.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php
index 83f88a2..2aa6101 100755
--- a/usr/local/www/services_captiveportal_mac.php
+++ b/usr/local/www/services_captiveportal_mac.php
@@ -121,7 +121,7 @@ if ($_POST) {
}
if ($_GET['act'] == "del") {
- $a_passthrumacs =& $a_cp[$cpzone];
+ $a_passthrumacs =& $a_cp[$cpzone]['passthrumac'];
if ($a_passthrumacs[$_GET['id']]) {
$ruleno = captiveportal_get_ipfw_passthru_ruleno($a_passthrumacs[$_GET['id']]['mac']);
if ($ruleno) {
OpenPOWER on IntegriCloud