summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-03-14 03:00:37 +0100
committerSeth Mos <seth.mos@xs4all.nl>2009-03-14 03:01:44 +0100
commit0ae397e293b8377adda0338357d3e950dfdca56e (patch)
tree71df6b9b1ff5d5f24b2bfa1fa7fd64f839ad2500 /etc
parent944f9879f626563c2e563a1086318adcd88bd0e0 (diff)
downloadpfsense-0ae397e293b8377adda0338357d3e950dfdca56e.zip
pfsense-0ae397e293b8377adda0338357d3e950dfdca56e.tar.gz
Add log_error() when removing a route for a monitor IP when running setup_gateways_monitor();
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc1
1 files changed, 1 insertions, 0 deletions
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']) .
OpenPOWER on IntegriCloud