diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-12-03 13:30:20 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-12-03 13:30:20 +0100 |
commit | 596a3abac6ca9bfea5ca0aeee60b4f2ba6524f6e (patch) | |
tree | 080980ea92b028c3f77ab8d790c5977a218ea5d2 /etc/inc | |
parent | 0b5b4f327a1d092890ea587e6088ecd76c49c1e0 (diff) | |
download | pfsense-596a3abac6ca9bfea5ca0aeee60b4f2ba6524f6e.zip pfsense-596a3abac6ca9bfea5ca0aeee60b4f2ba6524f6e.tar.gz |
Prevent bootup code from dying on empty load_balancer arrays
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/vslb.inc | 4 |
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(); + } } |