diff options
author | Ermal Luçi <eri@pfsense.org> | 2013-07-11 16:03:05 +0200 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2013-07-11 16:03:05 +0200 |
commit | d45fdd2a0199d1a777925922235a3168928cbdf0 (patch) | |
tree | 1b38fa3fc30eb986f17e0817d5f21693d8d8ba7f /etc | |
parent | 03ffccb928042f03242c20247f0c4e47663ef49f (diff) | |
download | pfsense-d45fdd2a0199d1a777925922235a3168928cbdf0.zip pfsense-d45fdd2a0199d1a777925922235a3168928cbdf0.tar.gz |
Fix copy/pasto introduced in previous commit.
Diffstat (limited to 'etc')
-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 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; } } } |