diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-09-09 09:48:52 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-09-12 08:44:51 -0300 |
commit | 0bf1e9252466820fcf161c4805f9f4dfc7fdb59e (patch) | |
tree | 99420adb6f35d980918d635cf34064f693776bee /etc/inc/captiveportal.inc | |
parent | 5eee375564b95e184b15c90ec0680d57172e496e (diff) | |
download | pfsense-0bf1e9252466820fcf161c4805f9f4dfc7fdb59e.zip pfsense-0bf1e9252466820fcf161c4805f9f4dfc7fdb59e.tar.gz |
Remove unused variable $macdb
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index d76f5a0..7bbb3cd 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -989,14 +989,9 @@ function captiveportal_passthrumac_configure($lock = false) { $rules = ""; - if (is_array($config['captiveportal'][$cpzone]['passthrumac'])) { - $macdb = array(); - foreach ($config['captiveportal'][$cpzone]['passthrumac'] as $macent) { + if (is_array($config['captiveportal'][$cpzone]['passthrumac'])) + foreach ($config['captiveportal'][$cpzone]['passthrumac'] as $macent) $rules .= captiveportal_passthrumac_configure_entry($macent); - $macdb[$macent['mac']][$cpzone]['active'] = true; - - } - } return $rules; } |