summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-12-03 13:30:20 +0100
committerSeth Mos <seth.mos@xs4all.nl>2009-12-03 13:30:20 +0100
commit596a3abac6ca9bfea5ca0aeee60b4f2ba6524f6e (patch)
tree080980ea92b028c3f77ab8d790c5977a218ea5d2 /etc
parent0b5b4f327a1d092890ea587e6088ecd76c49c1e0 (diff)
downloadpfsense-596a3abac6ca9bfea5ca0aeee60b4f2ba6524f6e.zip
pfsense-596a3abac6ca9bfea5ca0aeee60b4f2ba6524f6e.tar.gz
Prevent bootup code from dying on empty load_balancer arrays
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vslb.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index 86616c7..ef35c2b 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -191,7 +191,9 @@ function relayd_configure() {
break;
}
}
- $check_a[$type['name']] = $mon->p();
+ if($mon) {
+ $check_a[$type['name']] = $mon->p();
+ }
}
OpenPOWER on IntegriCloud