oh how I hate thee php array

This commit is contained in:
Bill Marquette 2008-08-05 21:03:10 +00:00
parent fc9351e17f
commit 52bd375c78

View File

@ -128,7 +128,7 @@ function relayd_configure() {
$check_a = array();
foreach ($config['load_balancer']['monitor_type'] as $type) {
foreach ((array)$config['load_balancer']['monitor_type'] as $type) {
switch($type['type']) {
case 'icmp': {
$mon = new ICMPMonitor($type['options']);