summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_mac.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-12-19 22:16:47 +0000
committerErmal <eri@pfsense.org>2012-12-19 22:16:47 +0000
commitfe7e987e36951d4a96640ba2790c21911e21b957 (patch)
treeff878d3b02956ccc304e0a659956126e0eca2296 /usr/local/www/services_captiveportal_mac.php
parentfe3693cb1ac33580f86b8ed103ca9c4088e57941 (diff)
downloadpfsense-fe7e987e36951d4a96640ba2790c21911e21b957.zip
pfsense-fe7e987e36951d4a96640ba2790c21911e21b957.tar.gz
Various fixes to removal of pipes
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 b9a8938..be4edae 100755
--- a/usr/local/www/services_captiveportal_mac.php
+++ b/usr/local/www/services_captiveportal_mac.php
@@ -130,7 +130,7 @@ if ($_GET['act'] == "del") {
$ruleno = captiveportal_get_ipfw_passthru_ruleno($a_passthrumacs[$_GET['id']]['mac']);
if ($ruleno) {
captiveportal_free_ipfw_ruleno($ruleno);
- $pipeno = captiveportal_get_dn_passthru_ruleno($_POST['delmac']);
+ $pipeno = captiveportal_get_dn_passthru_ruleno($a_passthrumacs[$_GET['id']]['mac']);
if ($pipeno)
captiveportal_free_dn_ruleno($pipeno);
captiveportal_ipfw_set_context($cpzone);
OpenPOWER on IntegriCloud