Revision a825c6f7
Added by Bill Marquette almost 17 years ago
etc/inc/vslb.inc | ||
---|---|---|
160 | 160 |
function relayd_configure() { |
161 | 161 |
global $config, $g; |
162 | 162 |
|
163 |
$vs_a = &$config['load_balancer']['virtual_server'];
|
|
164 |
$pool_a = &$config['load_balancer']['lbpool'];
|
|
165 |
$protocol_a = &$config['load_balancer']['lbprotocol'];
|
|
163 |
$vs_a = $config['load_balancer']['virtual_server']; |
|
164 |
$pool_a = $config['load_balancer']['lbpool']; |
|
165 |
$protocol_a = $config['load_balancer']['lbprotocol']; |
|
166 | 166 |
|
167 | 167 |
$check_a = array(); |
168 | 168 |
|
Also available in: Unified diff
No need to use a reference to the array, if it doesn't exist already
this tends to make it exist the next time a write_config() occurs
which is now happening during bootup thanks to OpenVPN...yay! ;)