diff options
author | Ermal <eri@pfsense.org> | 2014-06-12 21:06:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-06-12 21:06:10 +0000 |
commit | cbe38717c6d74c45c8d8c4868dc2a6266eaf7943 (patch) | |
tree | ad6f7ffe9ffc23b7b5733c7b3e787cb035a29198 /usr/local/www/services_captiveportal_ip.php | |
parent | 1d8b3cdddab9ee1d82421866fc6437f573b69437 (diff) | |
download | pfsense-cbe38717c6d74c45c8d8c4868dc2a6266eaf7943.zip pfsense-cbe38717c6d74c45c8d8c4868dc2a6266eaf7943.tar.gz |
Bring the code of captiveportal up to speed with its module counterpart requirments
Diffstat (limited to 'usr/local/www/services_captiveportal_ip.php')
-rw-r--r-- | usr/local/www/services_captiveportal_ip.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php index cf4d764..e87895c 100644 --- a/usr/local/www/services_captiveportal_ip.php +++ b/usr/local/www/services_captiveportal_ip.php @@ -70,8 +70,8 @@ if ($_GET['act'] == "del") { $mask = (!empty($ipent['sn'])) ? $ipent['sn'] : 32; $ipfw = pfSense_ipfw_getTablestats($cpzone, 3, $ipent['ip'], $mask); - pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_DEL, 3, $ipent['ip'], $mask); - pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_DEL, 4, $ipent['ip'], $mask); + pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_XDEL, 3, $ipent['ip'], $mask); + pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_XDEL, 4, $ipent['ip'], $mask); if (is_array($ipfw)) { captiveportal_free_dn_ruleno($ipfw['dnpipe']); @@ -178,4 +178,4 @@ include("head.inc"); </form> <?php include("fend.inc"); ?> </body> -</html>
\ No newline at end of file +</html> |