summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-07-11 16:03:05 +0200
committerErmal Luçi <eri@pfsense.org>2013-07-11 16:03:05 +0200
commitd45fdd2a0199d1a777925922235a3168928cbdf0 (patch)
tree1b38fa3fc30eb986f17e0817d5f21693d8d8ba7f
parent03ffccb928042f03242c20247f0c4e47663ef49f (diff)
downloadpfsense-d45fdd2a0199d1a777925922235a3168928cbdf0.zip
pfsense-d45fdd2a0199d1a777925922235a3168928cbdf0.tar.gz
Fix copy/pasto introduced in previous commit.
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 071f823..53f4e30 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -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;
}
}
}
OpenPOWER on IntegriCloud