summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_mac_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-03 11:11:57 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-03 11:11:57 -0300
commit4daa45d861ab448da4fdc910619a4ab6b213bc50 (patch)
tree4a432f7120d120443156e3cf3cf950d74f30ada8 /usr/local/www/services_captiveportal_mac_edit.php
parenteb4ae8913eb745580cc0b5da2fb74d6f9590961c (diff)
parent073a2697dd86a8dece8dafa28b71084a547ba31e (diff)
downloadpfsense-4daa45d861ab448da4fdc910619a4ab6b213bc50.zip
pfsense-4daa45d861ab448da4fdc910619a4ab6b213bc50.tar.gz
Merge remote branch 'mainline/master' into 4_load_balancer_and_services
Conflicts: usr/local/www/services_captiveportal_ip_edit.php usr/local/www/services_captiveportal_mac_edit.php usr/local/www/services_dhcp_edit.php usr/local/www/services_rfc2136.php usr/local/www/services_snmp.php
Diffstat (limited to 'usr/local/www/services_captiveportal_mac_edit.php')
-rwxr-xr-xusr/local/www/services_captiveportal_mac_edit.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr/local/www/services_captiveportal_mac_edit.php b/usr/local/www/services_captiveportal_mac_edit.php
index 3e92bad..4508a02 100755
--- a/usr/local/www/services_captiveportal_mac_edit.php
+++ b/usr/local/www/services_captiveportal_mac_edit.php
@@ -130,12 +130,6 @@ if ($_POST) {
$ruleno = captiveportal_get_ipfw_passthru_ruleno($oldmac);
if ($ruleno) {
captiveportal_free_ipfw_ruleno($ruleno);
- $rules = sprintf("%s %s\n", gettext("delete"), $ruleno);
- $rules .= gettext("delete") . " " . ++$ruleno . "\n";
- $rules .= captiveportal_passthrumac_configure_entry($mac);
- file_put_contents("{$g['tmp_path']}/tmpmacedit{$id}", $rules);
- mwexec("/sbin/ipfw -q {$g['tmp_path']}/tmpmacedit{$id}");
- @unlink("{$g['tmp_path']}/tmpmacedit{$id}");
$rules = "delete {$ruleno}\n";
$rules .= "delete " . ++$ruleno . "\n";
}
OpenPOWER on IntegriCloud