mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix copy/pasto introduced in previous commit.
This commit is contained in:
parent
03ffccb928
commit
d45fdd2a01
@ -1351,9 +1351,9 @@ function captiveportal_free_dnrules($rulenos_start = 2000, $rulenos_range_max =
|
||||
$rules = unserialize(file_get_contents("{$g['vardb_path']}/captiveportaldn.rules"));
|
||||
for ($ridx = $rulenos_start; $ridx < $rulenos_range_max; $ridx++) {
|
||||
if ($rules[$ridx] == $cpzone) {
|
||||
$rules[$ruleno] = false;
|
||||
$rules[$ridx] = false;
|
||||
$ridx++;
|
||||
$rules[$ruleno] = false;
|
||||
$rules[$ridx] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user