Revision 11b26a27
Added by Ermal LUÇI over 12 years ago
usr/local/www/services_captiveportal_ip_edit.php | ||
---|---|---|
142 | 142 |
$a_allowedips[] = $ip; |
143 | 143 |
} |
144 | 144 |
allowedips_sort(); |
145 |
|
|
145 |
|
|
146 | 146 |
write_config(); |
147 | 147 |
|
148 | 148 |
if (isset($a_cp[$cpzone]['enable']) && is_module_loaded("ipfw.ko")) { |
149 | 149 |
$rules = ""; |
150 |
unset($ipfw); |
|
150 | 151 |
if (isset($oldip) && isset($oldmask)) { |
151 | 152 |
$ipfw = pfSense_ipfw_getTablestats($cpzone, 3, $oldip, $oldmask); |
152 | 153 |
$rules .= "table 3 delete {$oldip}/{$oldmask}\n"; |
Also available in: Unified diff
unset var so the test works correctly