Révision cbe38717
Ajouté par Ermal il y a presque 10 ans
usr/local/www/services_captiveportal_ip.php | ||
---|---|---|
70 | 70 |
$mask = (!empty($ipent['sn'])) ? $ipent['sn'] : 32; |
71 | 71 |
|
72 | 72 |
$ipfw = pfSense_ipfw_getTablestats($cpzone, 3, $ipent['ip'], $mask); |
73 |
pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_DEL, 3, $ipent['ip'], $mask); |
|
74 |
pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_DEL, 4, $ipent['ip'], $mask); |
|
73 |
pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_XDEL, 3, $ipent['ip'], $mask);
|
|
74 |
pfSense_ipfw_Tableaction($cpzone, IP_FW_TABLE_XDEL, 4, $ipent['ip'], $mask);
|
|
75 | 75 |
|
76 | 76 |
if (is_array($ipfw)) { |
77 | 77 |
captiveportal_free_dn_ruleno($ipfw['dnpipe']); |
... | ... | |
178 | 178 |
</form> |
179 | 179 |
<?php include("fend.inc"); ?> |
180 | 180 |
</body> |
181 |
</html> |
|
181 |
</html> |
Formats disponibles : Unified diff
Bring the code of captiveportal up to speed with its module counterpart requirments