Correct is_array() check.
Make sure all 3 branches are the same.
Suggested-by: Bill M
Check for array type before foreach()
Reminded-by: Ryan Wagoner/Seth Mos
Do not foreach through an item that does not exist
Unlink pool file only if it exists
Remove load balancer pool status file when we reconfigure a pool.
Sleep for 2 seconds between restarting slbd
Handle a very unique edge case when using load balancing plus a dhcp wan. If the DHCP wan goes down, then when we add back the route freebsd will simply prefer the working wan.
This code is tested for outbound load balancing on a carp cluster and...
backout last commit
Reload filter on boot.
MFC 11474kill slbd if there are no pools or virtual servers
MFC ougoing lb monitoring fixes
Counter from 1, not 0. Slbd no likie.
MFC from head.Atleast the code that I wrote prior was pretty much the same.
Commit updated file for inspection
Add ping support. Not tested, not mother approved.
We're in 2006 now, toto
Add round-robin method
Ticket #626
Woops! Use correct field.
Add and honour sitedown slbd field
Only iterate through item if its an array
Allow SLBD to start.
add poolname
$Id -> $Id$
missing paren
only start slbd if we have a load balancer array w/ pools
Change polling interval
Tie load balance front end into the slbd daemon