diff options
author | jim-p <jimp@pfsense.org> | 2012-09-26 13:20:39 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-09-26 13:20:39 -0400 |
commit | 6e9b046e51f5728b8d8f0182b401476059040d1d (patch) | |
tree | 911aacf1b1623c1ca876b2d7f721b196f450e734 /usr/local/www/load_balancer_monitor.php | |
parent | fd3515f2b78184125e0f16a4a991660003ff7cd0 (diff) | |
download | pfsense-6e9b046e51f5728b8d8f0182b401476059040d1d.zip pfsense-6e9b046e51f5728b8d8f0182b401476059040d1d.tar.gz |
Due to the DHCP pool tag needing to be an array, rename the old LB "pool" variable to something else so it's not interpreted as an array.
Diffstat (limited to 'usr/local/www/load_balancer_monitor.php')
-rwxr-xr-x | usr/local/www/load_balancer_monitor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/load_balancer_monitor.php b/usr/local/www/load_balancer_monitor.php index 0f2bddb..03d3103 100755 --- a/usr/local/www/load_balancer_monitor.php +++ b/usr/local/www/load_balancer_monitor.php @@ -67,7 +67,7 @@ if ($_GET['act'] == "del") { if ($a_monitor[$_GET['id']]) { /* make sure no pools reference this entry */ if (is_array($config['load_balancer']['lbpool'])) { - foreach ($config['load_balancer']['pool'] as $pool) { + foreach ($config['load_balancer']['lbpool'] as $pool) { if ($pool['monitor'] == $a_monitor[$_GET['id']]['name']) { $input_errors[] = gettext("This entry cannot be deleted because it is still referenced by at least one pool."); break; |