Project

General

Profile

« Previous | Next » 

Revision 8df78737

Added by Scott Ullrich almost 20 years ago

Add and honour sitedown slbd field

View differences:

etc/inc/vslb.inc
59 59
			/* fallback IP */
60 60
			$slbdconf .= "\t:sitedown={$vsent['ipaddr']}:\\\n";
61 61
			/* fallback port */
62
			$slbdconf .= "\t:sitedown-port={$vsent['port']}:\\\n";
62
			$slbdconf .= "\t:sitedown-port={$vsent['sitedown']}:\\\n";
63 63
	
64 64
			for ($i = 0; isset($config['load_balancer']['lbpool'][$i]); $i++) {
65 65
				if ($config['load_balancer']['lbpool'][$i]['name'] == $vsent['pool']) {

Also available in: Unified diff