summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-07-11 15:59:52 +0200
committerErmal Luçi <eri@pfsense.org>2013-07-11 15:59:52 +0200
commit5b0f719197068cb9c82a22122a713229880f3399 (patch)
tree03e66bf4a32e1b4f0dc4737d0703b501f3df9ee1 /etc/inc/captiveportal.inc
parentac2035130da761f71d1f000c21d8b193c785ac2f (diff)
downloadpfsense-5b0f719197068cb9c82a22122a713229880f3399.zip
pfsense-5b0f719197068cb9c82a22122a713229880f3399.tar.gz
Fix copy/pasto introduced in previous commit.
Diffstat (limited to 'etc/inc/captiveportal.inc')
-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 ecc4c4c..627b1bb 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