From 0ae397e293b8377adda0338357d3e950dfdca56e Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Sat, 14 Mar 2009 03:00:37 +0100 Subject: Add log_error() when removing a route for a monitor IP when running setup_gateways_monitor(); --- etc/inc/gwlb.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 3c5e141..d5ab7ee 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -160,6 +160,7 @@ EOD; * route as this will break the routing table */ continue; } else { + log_error("Removing static route for monitor {$gateway['monitor']}"); mwexec("/sbin/route delete -host " . escapeshellarg($gateway['monitor'])); if(! stristr("127.0.0", $gateway['gateway'])) { mwexec("/sbin/route add -host " . escapeshellarg($gateway['monitor']) . -- cgit v1.1