diff options
author | Ermal Luçi <eri@pfsense.org> | 2013-07-11 15:59:52 +0200 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2013-07-11 15:59:52 +0200 |
commit | 5b0f719197068cb9c82a22122a713229880f3399 (patch) | |
tree | 03e66bf4a32e1b4f0dc4737d0703b501f3df9ee1 | |
parent | ac2035130da761f71d1f000c21d8b193c785ac2f (diff) | |
download | pfsense-5b0f719197068cb9c82a22122a713229880f3399.zip pfsense-5b0f719197068cb9c82a22122a713229880f3399.tar.gz |
Fix copy/pasto introduced in previous commit.
-rw-r--r-- | etc/inc/captiveportal.inc | 4 |
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; } } } |