mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Restore accidentally removed code. Spoted-by: bcyrill@github
This commit is contained in:
parent
9d33c8571f
commit
965ce4c680
@ -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']}");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user