summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-27 15:33:21 +0000
committerErmal <eri@pfsense.org>2013-01-27 15:34:12 +0000
commit965ce4c68062a22fcc4e5e9da7fa15a90af9c832 (patch)
tree14a684bf1f4e9d4c87e84dcd36c361be2539e171 /usr
parent9d33c8571fdbc757fb1eb54f5743e6fcee31edb3 (diff)
downloadpfsense-965ce4c68062a22fcc4e5e9da7fa15a90af9c832.zip
pfsense-965ce4c68062a22fcc4e5e9da7fa15a90af9c832.tar.gz
Restore accidentally removed code. Spoted-by: bcyrill@github
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_captiveportal_hostname.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/services_captiveportal_hostname.php b/usr/local/www/services_captiveportal_hostname.php
index 6a09522..7a7fb87 100755
--- a/usr/local/www/services_captiveportal_hostname.php
+++ b/usr/local/www/services_captiveportal_hostname.php
@@ -73,6 +73,7 @@ if ($_GET['act'] == "del" && !empty($cpzone)) {
$ipent['ip'] .= "/{$ipent['sn']}";
$ip = gethostbyname($ipent['ip']);
if(is_ipaddr($ip)) {
+ $ipfw = pfSense_ipfw_getTablestats($cpzone, 3, $ip);
if (is_array($ipfw)) {
captiveportal_free_dn_ruleno($ipfw['dnpipe']);
pfSense_pipe_action("pipe delete {$ipfw['dnpipe']}");
OpenPOWER on IntegriCloud